/* =========================================================
   FileWork Custom Styles
   Tailwind-Klassen die nicht in Metronics vorkompilierter
   styles.css enthalten sind, werden hier als Custom-CSS definiert
   ========================================================= */

/* Landing Page Layout
   ========================================================= */

.landing-main {
    padding-top: 4rem; /* Platz fuer fixe Navbar (h-16 = 4rem) */
}

.landing-hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.landing-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #fde68a 0%, #f7961c 50%, #c2410c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width: 600px) {
    .landing-hero h1 { white-space: normal; }
}

/* Hero CTA Buttons */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f7961c, #ea580c);
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
}

.hero-btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.hero-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    background: #ffffff;
    text-decoration: none;
    transition: transform 0.15s, background-color 0.15s, opacity 0.15s;
}

.hero-btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* Light mode: weißer Button wird orange wie im Dark Mode */
.light .hero-btn-white {
    color: #ffffff;
    background: linear-gradient(135deg, #f7961c, #ea580c);
}

.light .hero-btn-white:hover {
    background: linear-gradient(135deg, #f7961c, #ea580c);
    opacity: 0.92;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    border: 1px solid color-mix(in srgb, var(--foreground) 25%, transparent);
    background: color-mix(in srgb, var(--foreground) 5%, transparent);
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.hero-btn-ghost:hover {
    background: color-mix(in srgb, var(--foreground) 10%, transparent);
    border-color: color-mix(in srgb, var(--foreground) 40%, transparent);
    transform: translateY(-1px);
}

/* Rotating word */
.hero-rotate-wrap {
    display: inline-block;
    position: relative;
}

.hero-rotate-word {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f7961c 60%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@keyframes word-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes word-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-18px); }
}

.hero-rotate-word--in  { animation: word-in  0.35s ease forwards; }
.hero-rotate-word--out { animation: word-out 0.25s ease forwards; }

.landing-hero p {
    font-size: 1.125rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.landing-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* =========================================================
   Hero Background — Orange Glow Blobs
   ========================================================= */

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.dark .landing-main {
    background-color: #0d0d14;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: blob-drift 12s ease-in-out infinite alternate;
}

.hero-blob--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #f7961c 0%, #f76b1c 40%, transparent 70%);
    top: -120px;
    left: -80px;
    animation-delay: 0s;
    opacity: 0.28;
}

.hero-blob--2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #fbbf24 0%, #f7961c 45%, transparent 70%);
    top: 40px;
    right: 5%;
    animation-delay: -4s;
    opacity: 0.22;
}

.hero-blob--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f97316 0%, #ea580c 50%, transparent 70%);
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -8s;
    opacity: 0.18;
}

@keyframes blob-drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -20px) scale(1.05); }
    66%  { transform: translate(-20px, 30px) scale(0.97); }
    100% { transform: translate(15px, -10px) scale(1.03); }
}

@keyframes blob-drift-center {
    0%   { transform: translateX(-50%) translate(0, 0) scale(1); }
    50%  { transform: translateX(-50%) translate(20px, 25px) scale(1.06); }
    100% { transform: translateX(-50%) translate(-15px, -10px) scale(0.96); }
}

.hero-blob--3 { animation-name: blob-drift-center; }

.hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.40) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 8%,  rgba(255,255,255,0.50) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 30%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,0.60) 0%, transparent 100%),
        radial-gradient(1px 1px at 82% 45%, rgba(255,255,255,0.40) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,0.50) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 18% 65%, rgba(255,255,255,0.30) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 55%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 78% 68%, rgba(255,255,255,0.30) 0%, transparent 100%),
        radial-gradient(1px 1px at 48% 85%, rgba(255,255,255,0.20) 0%, transparent 100%);
}

:root:not(.dark) .hero-blob { opacity: 0.10 !important; }
:root:not(.dark) .hero-stars { display: none; }

.landing-main {
    position: relative;
}

.landing-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .landing-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================
   Landing — Hero Feature Cards (3-up under the hero)
   ========================================================= */

.landing-feature-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem 1.5rem;
    border-radius: 1rem;
    background:
        linear-gradient(135deg, color-mix(in srgb, #f7961c 5%, transparent), transparent 55%),
        color-mix(in srgb, var(--foreground) 4%, transparent);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.landing-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, #f7961c 55%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.landing-feature-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, #f7961c 40%, var(--border));
    background:
        linear-gradient(135deg, color-mix(in srgb, #f7961c 8%, transparent), transparent 60%),
        color-mix(in srgb, var(--foreground) 5%, transparent);
}

.landing-feature-card:hover::before {
    opacity: 1;
}

.landing-feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(247, 150, 28, 0.18), rgba(234, 88, 12, 0.12));
    border: 1px solid color-mix(in srgb, #f7961c 28%, transparent);
    color: #f7961c;
    font-size: 1.35rem;
    transition: transform 0.25s ease;
}

.landing-feature-card:hover .landing-feature-icon {
    transform: scale(1.05) rotate(-3deg);
}

.landing-feature-body {
    flex: 1;
    min-width: 0;
}

.landing-feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.landing-feature-desc {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

.landing-feature-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--foreground) 6%, transparent);
    color: var(--muted-foreground);
    font-size: 0.85rem;
    opacity: 0.7;
    transition: background-color 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}

.landing-feature-card:hover .landing-feature-arrow {
    background: #f7961c;
    color: #fff;
    opacity: 1;
    transform: translateX(3px);
}

/* =========================================================
   Landing — shared section & heading styles
   ========================================================= */

.landing-section {
    padding: 4rem 0;
    position: relative;
}

.landing-section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
}

.landing-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f7961c;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, #f7961c 12%, transparent);
    border: 1px solid color-mix(in srgb, #f7961c 25%, transparent);
    margin-bottom: 1rem;
}

.landing-section-title {
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.landing-section-sub {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

/* =========================================================
   Landing — Services Grid
   ========================================================= */

.landing-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .landing-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .landing-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.landing-service {
    position: relative;
    padding: 1.75rem;
    border-radius: 0.875rem;
    background: color-mix(in srgb, var(--foreground) 3%, transparent);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.landing-service:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, #f7961c 45%, var(--border));
    background: color-mix(in srgb, #f7961c 4%, transparent);
    box-shadow: 0 12px 32px -16px rgba(247, 150, 28, 0.35);
}

.landing-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(247, 150, 28, 0.15), rgba(234, 88, 12, 0.12));
    border: 1px solid color-mix(in srgb, #f7961c 30%, transparent);
    color: #f7961c;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.landing-service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.landing-service-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.landing-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.landing-service-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    color: var(--accent-foreground);
}

.landing-service-list i {
    color: #f7961c;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* =========================================================
   Landing — How it works (3 steps)
   ========================================================= */

.landing-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .landing-steps {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 1rem;
    }
}

.landing-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.landing-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f7961c, #ea580c);
    box-shadow: 0 8px 22px -8px rgba(247, 150, 28, 0.55);
    margin-bottom: 1rem;
}

.landing-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.landing-step-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.landing-step-connector {
    display: none;
    height: 1px;
    width: 3rem;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, #f7961c 45%, transparent), transparent);
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .landing-step-connector { display: block; }
}

/* =========================================================
   Landing — Why FileWork
   ========================================================= */

.landing-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .landing-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .landing-why-grid { grid-template-columns: repeat(4, 1fr); }
}

.landing-why {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--foreground) 2%, transparent);
}

.landing-why-icon {
    flex-shrink: 0;
    font-size: 1.35rem;
    color: #f7961c;
    margin-top: 0.15rem;
}

.landing-why-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.landing-why-desc {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.55;
}

/* =========================================================
   Landing — Stats
   ========================================================= */

.landing-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0 4rem;
    padding: 2.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, color-mix(in srgb, #f7961c 6%, transparent), color-mix(in srgb, #ea580c 3%, transparent)),
        color-mix(in srgb, var(--foreground) 2%, transparent);
}

@media (min-width: 768px) {
    .landing-stats { grid-template-columns: repeat(4, 1fr); }
}

.landing-stat {
    text-align: center;
    padding: 0.5rem;
}

.landing-stat-num {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24 0%, #f7961c 60%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.35rem;
}

.landing-stat-num span {
    font-size: 0.55em;
    font-weight: 600;
    margin-left: 0.15em;
    background: linear-gradient(135deg, #fbbf24 0%, #f7961c 60%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
}

.landing-stat-label {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* =========================================================
   Landing — Final CTA
   ========================================================= */

.landing-cta {
    padding: 3rem 0 5rem;
}

.landing-cta-inner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid color-mix(in srgb, #f7961c 30%, var(--border));
    background:
        radial-gradient(circle at 20% 0%, color-mix(in srgb, #f7961c 22%, transparent) 0%, transparent 55%),
        radial-gradient(circle at 80% 100%, color-mix(in srgb, #ea580c 20%, transparent) 0%, transparent 55%),
        color-mix(in srgb, var(--foreground) 3%, transparent);
}

.landing-cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.85rem;
}

.landing-cta-sub {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.65;
    max-width: 38rem;
    margin: 0 auto 2rem;
}

.landing-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* =========================================================
   Landing Navbar
   ========================================================= */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-header--scrolled {
    background-color: color-mix(in srgb, var(--background) 85%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    gap: 2rem;
}

.landing-header-logo img {
    display: block;
}

.landing-header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-grow: 1;
}

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.landing-header-auth {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Nav Links */
.landing-nav-item {
    position: relative;
}

.landing-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--accent-foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s, background-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.landing-nav-link:hover {
    color: var(--foreground);
    background-color: var(--muted);
}

.landing-nav-link--active {
    color: var(--foreground);
    font-weight: 500;
}

.landing-nav-chevron {
    font-size: 10px;
    transition: transform 0.2s;
}

/* Register Button */
.landing-register-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    border: 1px solid color-mix(in srgb, var(--foreground) 35%, transparent);
    background: transparent;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.landing-register-btn:hover {
    background-color: var(--muted);
}

/* Mega Menu */
.landing-mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 4rem;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.landing-mega-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.landing-mega-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.landing-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.15s;
    margin-bottom: 0.125rem;
}

.landing-mega-item:hover {
    background-color: var(--muted);
}

.landing-mega-icon {
    color: var(--muted-foreground);
    margin-top: 0.125rem;
    flex-shrink: 0;
    font-size: 1rem;
    transition: color 0.15s;
}

.landing-mega-item:hover .landing-mega-icon {
    color: var(--foreground);
}

.landing-mega-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.3;
}

.landing-mega-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.125rem;
    line-height: 1.4;
}

/* Mobile Menu */
.landing-hamburger {
    display: none;
}

.landing-mobile-menu {
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.landing-mobile-inner {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.landing-mobile-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    padding: 0.75rem 0.75rem 0.5rem;
    margin-top: 0.5rem;
}

.landing-mobile-heading:first-child {
    margin-top: 0;
}

.landing-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: var(--accent-foreground);
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.landing-mobile-link:hover {
    background-color: var(--muted);
    color: var(--foreground);
}

.landing-mobile-footer {
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Responsive */
@media (max-width: 767px) {
    .landing-header-nav,
    .landing-header-auth {
        display: none;
    }
    .landing-hamburger {
        display: inline-flex;
    }
}

/* =========================================================
   FileWork Brand Colors — Override Metronic primary to FileWork Orange
   ========================================================= */

:root {
    --primary: #f7961c;
    --primary-foreground: #ffffff;
}

.dark {
    --primary: #f7961c;
    --primary-foreground: #ffffff;
}

/* =========================================================
   Fehlende Tailwind Arbitrary-Value Utilities
   (nicht in der vorkompilierten Metronic styles.css enthalten)
   ========================================================= */

/* Auth Layout — Karte zentriert und max. 370px breit */
.page-bg > .kt-card {
    max-width: 370px;
    width: 100%;
}

/* Auth Wrapper — volle Höhe zum vertikalen Zentrieren */
.page-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arbitrary size utilities */
.size-\[100px\] { width: 100px; height: 100px; }

/* Arbitrary min-width utilities (Tabellen-Spalten) */
.min-w-\[200px\] { min-width: 200px; }
.min-w-\[250px\] { min-width: 250px; }
.min-w-\[120px\] { min-width: 120px; }
.min-w-\[100px\] { min-width: 100px; }
.w-\[80px\]      { width: 80px; }
.w-\[200px\]     { width: 200px; }
.max-w-\[400px\] { max-width: 400px; }

/* Arbitrary height/size utilities (Sidebar & Header) */
.max-h-\[22px\] { max-height: 22px; }
.max-h-\[25px\] { max-height: 25px; }
.size-\[30px\]  { width: 30px; height: 30px; }

/* border-3 — 3px Border für Avatar-Ring */
.border-3 {
    border-width: 3px;
}

/* Sidebar collapse toggle positioning */
.-translate-x-2\/4 { transform: translateX(-50%); }
.-translate-y-2\/4 { transform: translateY(-50%); }

/* =========================================================
   Fehlende responsive Grid-Utilities (sm / lg breakpoints)
   ========================================================= */

@media (min-width: 640px) {
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:col-span-2  { grid-column: span 2 / span 2; }
    .lg\:col-span-1  { grid-column: span 1 / span 1; }
    .lg\:gap-7\.5    { gap: 1.875rem; }
    .lg\:gap-5       { gap: 1.25rem; }
}

/* =========================================================
   Admin Dashboard — FileWork custom components
   (fw- prefix keeps these isolated from Metronic kt- classes)
   ========================================================= */

/* ── Stat cards ── */
.fw-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    font-size: 1rem;
}
.fw-stat-icon--primary  { background: rgba(247,150,28,.12); color: #f7961c; }
.fw-stat-icon--success  { background: rgba(34,197,94,.12);  color: #22c55e; }
.fw-stat-icon--info     { background: rgba(59,130,246,.12); color: #3b82f6; }
.fw-stat-icon--warning  { background: rgba(245,158,11,.12); color: #f59e0b; }

.fw-stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.1;
    margin-bottom: .2rem;
}
.fw-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    opacity: .75;
}
.fw-stat-sub {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: .15rem;
}

/* Revenue blur */
.fw-blur {
    filter: blur(6px);
    transition: filter .25s ease;
    user-select: none;
    cursor: pointer;
}
.fw-blur:hover { filter: none; }

/* ── Card header ── */
.fw-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.fw-card-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}
.fw-card-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: .15rem;
}

/* ── Badges ── */
.fw-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 999px;
    white-space: nowrap;
}
.fw-badge--primary { background: rgba(247,150,28,.15); color: #f7961c; }
.fw-badge--success { background: rgba(34,197,94,.13);  color: #22c55e; }
.fw-badge--muted   { background: rgba(128,128,128,.1); color: var(--muted-foreground); }

.fw-badge--dot::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: .15rem;
}

/* ── Mini stats (row 3) ── */
.fw-mini-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.fw-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .75rem;
    background: var(--accent);
    font-size: 1.1rem;
    color: var(--foreground);
    flex-shrink: 0;
}
.fw-mini-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.1;
}
.fw-mini-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* ── Table helpers ── */
.fw-th {
    padding: .625rem 1.25rem;
    text-align: left;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    white-space: nowrap;
}
.fw-td {
    padding: .875rem 1.25rem;
    font-size: .875rem;
    color: var(--foreground);
    vertical-align: middle;
}
.fw-td--mono { font-family: ui-monospace, monospace; font-size: .8125rem; }
.fw-td--muted { color: var(--muted-foreground); font-size: .8125rem; }

.fw-tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.fw-tr:last-child { border-bottom: none; }
.fw-tr:hover { background: color-mix(in srgb, var(--accent) 60%, transparent); }

.fw-empty-row {
    padding: 3rem 1.25rem;
    text-align: center;
    font-size: .875rem;
    color: var(--muted-foreground);
}
.fw-empty-icon {
    display: block;
    font-size: 1.75rem;
    margin-bottom: .75rem;
    opacity: .25;
}

/* Progress bar */
.fw-progress {
    display: inline-block;
    width: 80px;
    height: 5px;
    border-radius: 999px;
    background: var(--accent);
    overflow: hidden;
    vertical-align: middle;
}
.fw-progress-bar {
    height: 100%;
    border-radius: 999px;
    transition: width .3s ease;
}
.fw-progress-label {
    display: inline-block;
    font-size: .75rem;
    color: var(--muted-foreground);
    margin-left: .5rem;
    vertical-align: middle;
}

/* Action buttons */
.fw-actions {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.fw-btn-danger { color: var(--destructive); }
.fw-btn-danger:hover { background: rgba(239,68,68,.1) !important; }

/* ── Modal ── */
.fw-modal-content {
    max-width: 500px;
    margin-top: 10vh;
}
.fw-modal-body {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}
.fw-field { display: flex; flex-direction: column; gap: .375rem; }
.fw-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.fw-label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--muted-foreground);
}
.fw-hint {
    font-size: .72rem;
    color: var(--muted-foreground);
    margin: -.25rem 0 0;
}

/* Grid helpers missing from pre-compiled Metronic */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
