/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --navy-900: #0a1628;
    --navy-800: #0d1b3e;
    --navy-700: #142650;
    --navy-600: #1a3a6b;
    --navy-500: #2451a0;
    --beige-50:  #faf8f5;
    --beige-100: #f4ede4;
    --beige-200: #e8d5c0;
    --red-600:   #c0392b;
    --red-500:   #e74c3c;
    --white: #ffffff;
    --text-dark: #0d1b3e;
    --text-muted: #6b7280;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --shadow-sm: 0 1px 4px rgba(13,27,62,.08);
    --shadow-md: 0 4px 20px rgba(13,27,62,.13);
    --shadow-lg: 0 8px 40px rgba(13,27,62,.18);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.25s ease;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--beige-50);
    color: var(--text-dark);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main { flex: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--header-h);
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(244,237,228,.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 1.5rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, var(--beige-100), var(--red-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    letter-spacing: .04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.main-nav a {
    color: rgba(244,237,228,.75);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--red-500);
    transform: scaleX(0);
    transition: transform var(--transition);
    border-radius: 2px;
}

.main-nav a:hover { color: var(--beige-100); }
.main-nav a:hover::after { transform: scaleX(1); }

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

.user-greeting {
    font-size: .8rem;
    color: rgba(244,237,228,.6);
    font-weight: 500;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem 1.4rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-sm { padding: .45rem 1rem; font-size: .8rem; }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-primary { background: var(--red-600); color: var(--white); }
.btn-primary:hover { background: var(--red-500); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,57,43,.4); }

.btn-outline { background: transparent; color: var(--beige-100); border: 1.5px solid rgba(244,237,228,.3); }
.btn-outline:hover { background: rgba(244,237,228,.08); border-color: rgba(244,237,228,.6); }

.btn-navy { background: var(--navy-600); color: var(--white); }
.btn-navy:hover { background: var(--navy-500); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text-dark); border: 1.5px solid rgba(13,27,62,.15); }
.btn-ghost:hover { background: rgba(13,27,62,.05); }

.btn-danger { background: var(--red-600); color: var(--white); }
.btn-danger:hover { background: var(--red-500); }

/* ============================================================
   MOBILE NAV TOGGLE
   ============================================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--beige-100);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy-900);
    overflow: hidden;
    display: flex;
    align-items: center;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,22,40,.85) 0%,
        rgba(10,22,40,.45) 60%,
        rgba(10,22,40,.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 7rem;
    padding-bottom: 4rem;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(192,57,43,.12);
    border: 1px solid rgba(192,57,43,.35);
    color: #f07878;
    padding: .35rem 1rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red-500);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.6); }
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--beige-100);
    margin-bottom: 1.5rem;
    letter-spacing: -.025em;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #5599ff, var(--red-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(244,237,228,.72);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(244,237,228,.4);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(rgba(244,237,228,.4), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--navy-800);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(244,237,228,.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--beige-100);
}

.stat-num span { color: var(--red-500); }
.stat-label { color: rgba(244,237,228,.55); font-size: .875rem; margin-top: .4rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5rem 0; }

.section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--red-600);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.section-title .accent { color: var(--red-600); }
.section-title.light { color: var(--beige-100); }

.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13,27,62,.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--text-dark); }
.card p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

/* ============================================================
   PILLS / TAGS
   ============================================================ */
.pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.pill {
    padding: .3rem .8rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(13,27,62,.07);
    color: var(--text-dark);
}

.pill-navy { background: var(--navy-800); color: var(--beige-100); }
.pill-red { background: rgba(192,57,43,.1); color: var(--red-600); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: var(--navy-900);
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.avatar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-box {
    width: 280px; height: 280px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(244,237,228,.08);
}

.avatar-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(85,153,255,.15), rgba(192,57,43,.1));
}

.about-text h2 { color: var(--beige-100); }
.about-text p { color: rgba(244,237,228,.7); line-height: 1.85; margin-bottom: 1.5rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: var(--beige-100);
    text-align: center;
    padding: 5.5rem 0;
}

.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; color: var(--beige-100); }
.cta-section p { color: rgba(244,237,228,.7); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    background: var(--navy-900);
    padding: 7rem 0 4rem;
    border-bottom: 1px solid rgba(244,237,228,.06);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--beige-100);
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.page-header p { color: rgba(244,237,228,.65); font-size: 1rem; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(244,237,228,.4);
    margin-bottom: 1rem;
}

.breadcrumb a { color: rgba(244,237,228,.4); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--beige-100); }
.breadcrumb span { opacity: .4; }

/* ============================================================
   FORMS
   ============================================================ */
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 2rem) 1rem 3rem;
    background: var(--beige-50);
}

.form-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-card-title { font-size: 1.6rem; font-weight: 800; margin-bottom: .35rem; }
.form-card-sub { color: var(--text-muted); font-size: .875rem; margin-bottom: 2rem; }

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

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

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--text-dark);
    background: var(--beige-50);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,58,107,.12);
}

textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }

.form-hint { font-size: .75rem; color: var(--text-muted); margin-top: .35rem; }

.alert {
    padding: .875rem 1.1rem;
    border-radius: var(--radius);
    font-size: .875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.alert-error { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.2); color: #c0392b; }
.alert-success { background: rgba(39,174,96,.08); border: 1px solid rgba(39,174,96,.2); color: #1e8449; }
.alert-info { background: rgba(41,128,185,.08); border: 1px solid rgba(41,128,185,.2); color: #1f618d; }
.alert-warning { background: rgba(230,126,34,.08); border: 1px solid rgba(230,126,34,.2); color: #a04000; }

.form-link { text-align: center; margin-top: 1.5rem; font-size: .875rem; color: var(--text-muted); }
.form-link a { color: var(--navy-600); font-weight: 600; text-decoration: none; }
.form-link a:hover { text-decoration: underline; }

/* ============================================================
   CONTENT PAGE (inner pages with padding)
   ============================================================ */
.page-content {
    padding: 3.5rem 0 5rem;
}

/* ============================================================
   TICKET SYSTEM
   ============================================================ */
.ticket-list { display: flex; flex-direction: column; gap: 1rem; }

.ticket-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13,27,62,.06);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.ticket-row:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--red-600);
}

.ticket-subject { font-weight: 600; font-size: .9rem; flex: 1; }
.ticket-meta { font-size: .78rem; color: var(--text-muted); flex: 1; }
.ticket-date { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }

.badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .7rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-open { background: rgba(39,174,96,.12); color: #1e8449; }
.badge-progress { background: rgba(41,128,185,.12); color: #1f618d; }
.badge-closed { background: rgba(149,165,166,.12); color: #717d7e; }
.badge-high { background: rgba(192,57,43,.12); color: var(--red-600); }
.badge-med { background: rgba(230,126,34,.12); color: #935116; }
.badge-low { background: rgba(39,174,96,.12); color: #1e8449; }

.reply-thread { display: flex; flex-direction: column; gap: 1rem; }

.reply {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13,27,62,.06);
}

.reply.admin-reply {
    background: var(--navy-800);
    border-color: transparent;
    margin-left: 2rem;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    font-size: .8rem;
}

.reply-author { font-weight: 700; color: var(--text-dark); }
.admin-reply .reply-author { color: var(--beige-100); }
.reply-time { color: var(--text-muted); }
.admin-reply .reply-time { color: rgba(244,237,228,.5); }
.reply-body { font-size: .9rem; line-height: 1.7; }
.admin-reply .reply-body { color: rgba(244,237,228,.88); }

.admin-badge {
    background: var(--red-600);
    color: var(--white);
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============================================================
   DIENSTLEISTUNGEN
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13,27,62,.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-600), var(--red-600));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; margin-top: 1rem; }
.service-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.75; }

.service-icon { font-size: 2.5rem; line-height: 1; }

/* ============================================================
   IMPRESSUM
   ============================================================ */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2.5rem 0 .75rem; color: var(--text-dark); }
.legal-content p { font-size: .9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: .75rem; }
.legal-content a { color: var(--navy-600); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
body.admin-body {
    background: #f0f2f5;
    display: block;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--navy-900);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 800;
    border-right: 1px solid rgba(244,237,228,.06);
}

.admin-logo {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(244,237,228,.08);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--beige-100);
    letter-spacing: .04em;
}

.admin-logo span { color: var(--red-500); }

.admin-user {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(244,237,228,.06);
    font-size: .75rem;
    color: rgba(244,237,228,.45);
}

.admin-user strong { display: block; color: rgba(244,237,228,.75); font-size: .82rem; }

.admin-nav { padding: 1rem 0; flex: 1; overflow-y: auto; }

.admin-nav-label {
    padding: .5rem 1.5rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(244,237,228,.3);
    margin-top: .5rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1.5rem;
    color: rgba(244,237,228,.65);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: all var(--transition);
    border-right: 3px solid transparent;
}

.admin-nav a .nav-icon { font-size: 1.1rem; opacity: .8; }
.admin-nav a:hover { color: var(--beige-100); background: rgba(244,237,228,.04); }
.admin-nav a.active { color: var(--beige-100); background: rgba(244,237,228,.06); border-right-color: var(--red-500); }

.admin-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(244,237,228,.06);
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f0f2f5;
}

.admin-topbar {
    background: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(13,27,62,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.admin-page-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }

.admin-content { padding: 2rem; flex: 1; }

/* Admin cards */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13,27,62,.06);
    position: relative;
    overflow: hidden;
}

.dash-card::after {
    content: attr(data-icon);
    position: absolute;
    right: 1rem; top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: .08;
}

.dash-card-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .4rem; }
.dash-card-value { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.dash-card-sub { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; }

/* Admin table */
.table-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }

.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
    background: var(--navy-800);
    color: var(--beige-100);
    padding: .9rem 1.2rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
}

.data-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(13,27,62,.05);
    font-size: .875rem;
    vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(244,237,228,.4); }

.data-table a { color: var(--navy-600); text-decoration: none; font-weight: 600; }
.data-table a:hover { text-decoration: underline; }

/* Admin form overrides */
.admin-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 700px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .4rem; }
.empty-state p { font-size: .875rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-900);
    color: rgba(244,237,228,.65);
    padding: 4rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.75; max-width: 300px; }

.footer-social { margin-top: 1rem; display: flex; gap: .75rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius);
    border: 1px solid rgba(244,237,228,.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(244,237,228,.6);
    text-decoration: none;
    transition: all var(--transition);
}
.social-link:hover { border-color: rgba(244,237,228,.4); color: var(--beige-100); background: rgba(244,237,228,.06); }

.footer-col h4 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--beige-100);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(244,237,228,.55);
    text-decoration: none;
    font-size: .875rem;
    padding: .3rem 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--beige-100); }

.footer-bottom {
    border-top: 1px solid rgba(244,237,228,.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem;
}

.footer-bottom a { color: rgba(244,237,228,.5); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--beige-100); }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }
.fw-bold { font-weight: 700; }

/* Scroll fade */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(10,22,40,.98);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: .25rem;
        border-bottom: 1px solid rgba(244,237,228,.08);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: .65rem 0; font-size: 1rem; }
    .main-nav a::after { display: none; }

    .menu-toggle { display: flex; }
    .user-greeting { display: none; }

    .header-actions .btn-outline { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .hero-content { padding-top: 6rem; }
    .ticket-row { flex-wrap: wrap; }
    .about-grid { text-align: center; }
    .avatar-box { margin: 0 auto 2rem; }
}

@media (max-width: 480px) {
    .btn-lg { padding: .75rem 1.5rem; font-size: .9rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}
