/* ============================================
   Ik Regel De Lunch Wel - Stylesheet
   Design: Clean, warm, modern - Thuisbezorgd meets Notion
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ---- Custom Properties ---- */
:root {
    --oranje: #FF6B35;
    --oranje-hover: #E85A25;
    --oranje-licht: #FFF4EE;
    --oranje-subtle: rgba(255, 107, 53, 0.08);
    --navy: #1B1F3B;
    --navy-licht: #2D3154;
    --tekst: #1E2330;
    --tekst-secondary: #4A5066;
    --wit: #FFFFFF;
    --achtergrond: #F8F7F4;
    --achtergrond-warm: #FBF9F6;
    --grijs: #6B7185;
    --grijs-licht: #E8E9ED;
    --grijs-mist: #F1F2F5;
    --groen: #22C55E;
    --groen-licht: #ECFDF5;
    --groen-tekst: #166534;
    --geel: #F59E0B;
    --geel-licht: #FFFBEB;
    --geel-tekst: #92400E;
    --rood: #EF4444;
    --rood-licht: #FEF2F2;
    --rood-tekst: #991B1B;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    --shadow-xs: 0 1px 2px rgba(27, 31, 59, 0.04);
    --shadow-sm: 0 1px 3px rgba(27, 31, 59, 0.06), 0 1px 2px rgba(27, 31, 59, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(27, 31, 59, 0.07), 0 2px 4px -2px rgba(27, 31, 59, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(27, 31, 59, 0.08), 0 4px 6px -4px rgba(27, 31, 59, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(27, 31, 59, 0.1), 0 8px 10px -6px rgba(27, 31, 59, 0.05);
    --shadow-card: 0 1px 3px rgba(27, 31, 59, 0.05), 0 6px 16px rgba(27, 31, 59, 0.04);
    --shadow-card-hover: 0 4px 12px rgba(27, 31, 59, 0.08), 0 12px 28px rgba(27, 31, 59, 0.06);
    --shadow-button: 0 1px 3px rgba(255, 107, 53, 0.2), 0 4px 12px rgba(255, 107, 53, 0.15);
    --shadow-button-hover: 0 2px 8px rgba(255, 107, 53, 0.25), 0 8px 24px rgba(255, 107, 53, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --max-width: 1120px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--tekst);
    background: var(--achtergrond);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }

::selection {
    background: var(--oranje-licht);
    color: var(--oranje-hover);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.25;
    color: var(--tekst);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.heading-display {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 32px 0;
}

/* ---- Navbar ---- */
.navbar {
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 247, 244, 0.85);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--tekst);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.navbar-brand:hover { color: var(--tekst); }

.navbar-brand .logo-icon {
    width: 34px;
    height: 34px;
    background: var(--oranje);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.navbar-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--grijs);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.navbar-nav a:hover {
    color: var(--tekst);
    background: rgba(0, 0, 0, 0.04);
}

.navbar-nav a.active {
    color: var(--oranje);
    background: var(--oranje-licht);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
    position: relative;
    outline: none;
}

.btn:focus-visible {
    box-shadow: 0 0 0 2px var(--achtergrond), 0 0 0 4px var(--oranje);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--oranje);
    color: var(--wit);
    box-shadow: var(--shadow-button);
}
.btn-primary:hover {
    background: var(--oranje-hover);
    color: var(--wit);
    box-shadow: var(--shadow-button-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--navy);
    color: var(--wit);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--navy-licht);
    color: var(--wit);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--wit);
    color: var(--tekst);
    border: 1.5px solid var(--grijs-licht);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
    border-color: var(--oranje);
    color: var(--oranje);
    background: var(--oranje-licht);
}

.btn-ghost {
    background: transparent;
    color: var(--tekst-secondary);
}
.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--tekst);
}

.btn-success {
    background: var(--groen);
    color: var(--wit);
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.2), 0 4px 12px rgba(34, 197, 94, 0.15);
}
.btn-success:hover {
    background: #16a34a;
    color: var(--wit);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--rood);
    color: var(--wit);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-block {
    width: 100%;
}

/* ---- Cards ---- */
.card {
    background: var(--wit);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
}

.card-body {
    padding: 24px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--grijs-licht);
    font-weight: 600;
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--tekst);
}

.form-label .optional {
    font-weight: 400;
    color: var(--grijs);
    font-size: 0.78rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--grijs-licht);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--tekst);
    background: var(--wit);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--oranje);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder { color: #B0B3C0; }

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-error {
    color: var(--rood);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-hint {
    color: var(--grijs);
    font-size: 0.8rem;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ---- Alerts ---- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.alert-success { background: var(--groen-licht); color: var(--groen-tekst); border: 1px solid rgba(34, 197, 94, 0.15); }
.alert-warning { background: var(--geel-licht); color: var(--geel-tekst); border: 1px solid rgba(245, 158, 11, 0.15); }
.alert-error   { background: var(--rood-licht); color: var(--rood-tekst); border: 1px solid rgba(239, 68, 68, 0.15); }
.alert-info    { background: var(--oranje-licht); color: #C2410C; border: 1px solid rgba(255, 107, 53, 0.1); }

/* ---- Badges ---- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.badge-success { background: var(--groen-licht); color: var(--groen-tekst); }
.badge-warning { background: var(--geel-licht); color: var(--geel-tekst); }
.badge-danger  { background: var(--rood-licht); color: var(--rood-tekst); }
.badge-info    { background: var(--oranje-licht); color: #C2410C; }
.badge-neutral { background: var(--grijs-mist); color: var(--grijs); }

/* ============================================
   LANDING PAGE
   ============================================ */

/* ---- Hero Section ---- */
.hero {
    text-align: center;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--oranje-licht);
    color: var(--oranje);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.hero h1 {
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: var(--oranje);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--tekst-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Pain Section (Before/After) ---- */
.pain-section {
    padding: 64px 0 48px;
    position: relative;
}

.pain-section .section-eyebrow {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grijs);
    margin-bottom: 12px;
}

.pain-section .section-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.pain-card {
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    position: relative;
}

.pain-card.before {
    background: var(--rood-licht);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.pain-card.after {
    background: var(--groen-licht);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.pain-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.pain-card.before .pain-card-label {
    background: rgba(239, 68, 68, 0.1);
    color: var(--rood-tekst);
}

.pain-card.after .pain-card-label {
    background: rgba(34, 197, 94, 0.1);
    color: var(--groen-tekst);
}

.pain-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pain-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--tekst-secondary);
}

.pain-card ul li .pain-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 1px;
}

.pain-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-divider-arrow {
    width: 48px;
    height: 48px;
    background: var(--wit);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    color: var(--oranje);
}

/* ---- Steps Section ---- */
.steps {
    padding: 48px 0;
}

.steps-title {
    text-align: center;
    margin-bottom: 12px;
}

.steps-subtitle {
    text-align: center;
    color: var(--tekst-secondary);
    font-size: 0.95rem;
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
}

.step-card {
    text-align: center;
    padding: 36px 24px 32px;
    background: var(--wit);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: all var(--transition);
}

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

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--oranje-licht);
    color: var(--oranje);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--tekst-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ---- Key Feature Callout ---- */
.key-feature {
    padding: 40px 0;
}

.key-feature-box {
    background: var(--navy);
    border-radius: var(--radius-2xl);
    padding: 40px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.key-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.key-feature-box h3 {
    color: var(--wit);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 10px;
    position: relative;
}

.key-feature-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    line-height: 1.6;
}

/* ---- Code Entry Section ---- */
.code-entry {
    padding: 48px 0;
}

.code-entry-card {
    max-width: 480px;
    margin: 0 auto;
}

.code-entry-card .card-body {
    padding: 36px;
    text-align: center;
}

.code-entry-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.code-entry-form .form-input {
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    font-weight: 500;
}

/* ---- Social Proof ---- */
.social-proof {
    padding: 32px 0 48px;
    text-align: center;
}

.social-proof-text {
    color: var(--grijs);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   MENU & ORDERING
   ============================================ */

/* ---- Menu Grid ---- */
.menu-section {
    margin-bottom: 32px;
}

.menu-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--grijs-mist);
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.menu-item {
    background: var(--wit);
    border-radius: var(--radius-lg);
    border: 1.5px solid transparent;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.menu-item:hover {
    border-color: var(--grijs-licht);
    box-shadow: var(--shadow-md);
}

.menu-item.in-cart {
    border-color: var(--oranje);
    background: var(--oranje-licht);
}

.menu-item-info { flex: 1; }

.menu-item-naam {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.menu-item-beschrijving {
    color: var(--grijs);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.menu-item-prijs {
    font-weight: 700;
    color: var(--oranje);
    font-size: 0.95rem;
}

.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--grijs-licht);
    background: var(--wit);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--tekst);
    line-height: 1;
}

.qty-btn:hover {
    border-color: var(--oranje);
    color: var(--oranje);
}

.qty-btn.add {
    background: var(--oranje);
    border-color: var(--oranje);
    color: var(--wit);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
}

.qty-btn.add:hover {
    background: var(--oranje-hover);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.qty-display {
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 22px;
    text-align: center;
}

/* ============================================
   FLOATING CART
   ============================================ */

.floating-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(100%);
}

.floating-cart.visible {
    transform: translateY(0);
}

.cart-bar {
    background: var(--navy);
    color: var(--wit);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.cart-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-count {
    background: var(--oranje);
    color: var(--wit);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.cart-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-expand-icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
    opacity: 0.7;
}

.floating-cart.expanded .cart-expand-icon {
    transform: rotate(180deg);
}

.cart-details {
    background: var(--wit);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.floating-cart.expanded .cart-details {
    max-height: 60vh;
    overflow-y: auto;
}

.cart-items {
    padding: 16px 20px;
    list-style: none;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--grijs-mist);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-naam {
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-qty {
    color: var(--grijs);
    font-size: 0.82rem;
}

.cart-item-prijs {
    font-weight: 600;
    color: var(--oranje);
    font-size: 0.9rem;
}

.cart-actions {
    padding: 16px 20px;
    border-top: 1px solid var(--grijs-mist);
}

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--wit);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tekst);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    color: var(--grijs);
    font-size: 0.82rem;
    font-weight: 500;
}

.stat-card.highlight {
    background: var(--oranje);
    color: var(--wit);
    box-shadow: var(--shadow-button);
}

.stat-card.highlight .stat-value { color: var(--wit); }
.stat-card.highlight .stat-label { color: rgba(255, 255, 255, 0.8); }

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--grijs-mist);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 12px 0 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--oranje), var(--groen));
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Order cards */
.order-card {
    background: var(--wit);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--grijs-licht);
    transition: all var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.order-card.betaald { border-left-color: var(--groen); }
.order-card.wachtend { border-left-color: var(--geel); }

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-naam {
    font-weight: 700;
    font-size: 1rem;
}

.order-items-list {
    list-style: none;
    margin-bottom: 10px;
}

.order-items-list li {
    padding: 4px 0;
    font-size: 0.875rem;
    color: var(--tekst);
    display: flex;
    justify-content: space-between;
}

.order-items-list li span:first-child {
    color: var(--tekst-secondary);
}

/* Totaaloverzicht */
.totaal-overzicht {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 28px;
    color: var(--wit);
    margin-top: 24px;
}

.totaal-overzicht h3 {
    color: var(--wit);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.totaal-lijst {
    list-style: none;
}

.totaal-lijst li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.totaal-lijst li:last-child { border-bottom: none; }

.totaal-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
}

/* ---- Countdown Timer ---- */
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--navy);
    color: var(--wit);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.82rem;
}

.countdown.urgent {
    background: var(--rood);
    animation: pulse 1s ease-in-out infinite;
}

.countdown.expired {
    background: var(--grijs);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ============================================
   UPLOAD ZONE
   ============================================ */

.upload-zone {
    border: 2px dashed var(--grijs-licht);
    border-radius: var(--radius-xl);
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--achtergrond-warm);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--oranje);
    background: var(--oranje-licht);
}

.upload-zone-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.upload-zone-text {
    color: var(--grijs);
    font-size: 0.85rem;
    line-height: 1.6;
}

.upload-zone-text strong {
    color: var(--oranje);
}

.upload-preview {
    margin-top: 16px;
    position: relative;
    display: inline-block;
}

.upload-preview img {
    max-height: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.upload-preview .remove-upload {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rood);
    color: var(--wit);
    border: 2px solid var(--wit);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ============================================
   MENU BUILDER
   ============================================ */

.menu-builder-category {
    margin-bottom: 24px;
    background: var(--wit);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-builder-category h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.menu-builder-item {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grijs-mist);
}

.menu-builder-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .menu-builder-item {
        grid-template-columns: 1fr;
    }
}

.add-item-row {
    margin-top: 12px;
}

/* ============================================
   SHARE LINK BOX
   ============================================ */

.share-box {
    background: var(--oranje-licht);
    border: 1.5px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
    margin: 24px 0;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--wit);
    border-radius: var(--radius-full);
    padding: 5px 5px 5px 18px;
    margin-top: 14px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.share-link input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--tekst);
    background: transparent;
}

/* ============================================
   AUTH PAGE
   ============================================ */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-card .card-body {
    padding: 40px;
}

.auth-tabs {
    display: flex;
    background: var(--grijs-mist);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--grijs);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.auth-tab.active {
    color: var(--tekst);
    background: var(--wit);
    box-shadow: var(--shadow-sm);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--grijs);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--grijs-licht);
}

/* Quick start (name + email only) */
.quick-start-card {
    border: 2px solid var(--oranje);
    position: relative;
}

.quick-start-card::before {
    content: 'Snel starten';
    position: absolute;
    top: -10px;
    left: 24px;
    background: var(--oranje);
    color: var(--wit);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SUCCESS SCREEN
   ============================================ */

.success-screen {
    text-align: center;
    padding: 48px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--groen);
    color: var(--wit);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ============================================
   SESSION LIST
   ============================================ */

.session-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.session-card {
    background: var(--wit);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--tekst);
}

.session-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-1px);
    color: var(--tekst);
}

.session-card-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.session-card-meta {
    color: var(--grijs);
    font-size: 0.82rem;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   MENU PHOTO VIEWER & LIGHTBOX
   ============================================ */

.menu-photo-container {
    margin-bottom: 24px;
    background: var(--wit);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.menu-photo-container img {
    width: 100%;
    border-radius: var(--radius-lg);
    cursor: zoom-in;
}

.menu-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--grijs-mist);
    border-radius: var(--radius-md);
    color: var(--tekst);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.menu-pdf-link:hover {
    background: var(--oranje-licht);
    color: var(--oranje);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 95%;
    max-height: 95vh;
    border-radius: var(--radius-md);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--navy);
    color: var(--wit);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 0.85rem;
    font-weight: 500;
    animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), fadeOut 0.3s ease 2.7s;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 340px;
}

.toast.success { border-left: 3px solid var(--groen); }
.toast.error   { border-left: 3px solid var(--rood); }
.toast.info    { border-left: 3px solid var(--oranje); }

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--grijs);
    font-size: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 24px;
}

/* ============================================
   BETAAL OPTIES (nieuw.php)
   ============================================ */

.betaal-optie {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1.5px solid var(--grijs-licht);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--wit);
}

.betaal-optie:hover {
    border-color: var(--oranje-licht);
    background: var(--achtergrond-warm);
}

.betaal-optie.selected,
.betaal-optie:has(input:checked) {
    border-color: var(--oranje);
    background: var(--oranje-licht);
}

.betaal-optie input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--oranje);
}

.betaal-optie strong {
    display: block;
    font-size: 0.9rem;
}

.betaal-optie .text-muted {
    margin: 4px 0 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero { padding: 40px 0 32px; }

    .main-content { padding: 20px 0; }

    .menu-grid { grid-template-columns: 1fr; }

    .dashboard-stats { grid-template-columns: 1fr 1fr; }

    .floating-cart { padding-bottom: env(safe-area-inset-bottom); }

    .bestel-page .main-content { padding-bottom: 100px; }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pain-divider {
        padding: 4px 0;
    }

    .pain-divider-arrow {
        transform: rotate(90deg);
    }

    .key-feature-box {
        padding: 32px 24px;
    }

    .auth-card .card-body {
        padding: 28px;
    }

    .session-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .session-card-meta {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .navbar-brand span:not(.logo-icon) {
        font-size: 0.9rem;
    }

    .navbar-nav a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--grijs); }
.text-small { font-size: 0.82rem; }
.text-oranje { color: var(--oranje); }
.text-groen { color: var(--groen); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

.hidden { display: none !important; }

/* ---- Page Transitions ---- */
.page-enter {
    animation: pageIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Skeleton Loading ---- */
.skeleton {
    background: linear-gradient(90deg, var(--grijs-mist) 25%, var(--grijs-licht) 50%, var(--grijs-mist) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 56px 20px;
    color: var(--grijs);
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.empty-state p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ---- Divider ---- */
.divider {
    height: 1px;
    background: var(--grijs-mist);
    margin: 20px 0;
}
