/* ============================================
   STANDFEST DIGITAL — Design System
   Version: 2.0 | Unified
   Font: DM Sans (lokal) | Theme: Dark + Beige Nav/Footer
   ============================================ */

/* ---------- Local Fonts ---------- */
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* ---------- Skip-to-Content ---------- */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px; font-size: 0.875rem; font-weight: 600;
  z-index: 10000; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:root {
  /* Backgrounds */
  --bg-primary: #1e2119;
  --bg-card: #2a2e25;
  --bg-card-hover: #333828;

  /* Accent */
  --accent: #4a7c59;
  --accent-hover: #5a9469;
  --accent-subtle: rgba(74, 124, 89, 0.15);

  /* Text */
  --text-primary: #e8e6e1;
  --text-muted: #9a9890;
  --text-on-accent: #ffffff;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  /* Nav (beige) */
  --nav-bg: rgba(235, 232, 225, 0.95);
  --nav-bg-solid: rgba(235, 232, 225, 0.98);
  --nav-text: #5a584f;
  --nav-text-hover: #1e2119;
  --nav-border: rgba(0, 0, 0, 0.08);
  --nav-border-strong: rgba(0, 0, 0, 0.12);

  /* Status */
  --warning: #c4963a;
  --error: #b54a4a;
  --error-action: #c0392b;
  --error-action-bg: rgba(224, 92, 58, 0.1);
  --error-action-border: rgba(224, 92, 58, 0.2);

  /* Footer */
  --footer-text: #6b6960;
  --footer-muted: #9a9890;

  /* Scope */
  --scope-exclusion: #8b5e5e;

  /* Status pending */
  --status-pending: #c17f3a;

  /* Layout */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --transition: 0.3s ease;
  --section-padding: 100px 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.subheading {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ============================================
   NAVIGATION — Beige
   ============================================ */
/* ---------- Header (inspired by shadcn header-2) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid transparent;
  background: rgba(26, 29, 25, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  transition: max-width 0.4s ease, top 0.4s ease, background 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease, border-radius 0.4s ease;
  /* Override light-theme nav vars for dark glass header */
  --nav-text: rgba(255, 255, 255, 0.7);
  --nav-text-hover: #fff;
  --nav-border: rgba(255, 255, 255, 0.08);
  --nav-border-strong: rgba(255, 255, 255, 0.15);
}

/* Scrolled state: shrink, float, liquid glass */
.nav--scrolled {
  background: rgba(26, 29, 25, 0.92);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  backdrop-filter: blur(28px) saturate(1.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (min-width: 769px) {
  .nav--scrolled {
    top: 16px;
    max-width: 1040px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* Mobile open state */
.nav--menu-open {
  background: rgba(26, 29, 25, 0.95);
}

.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.4s ease, padding 0.4s ease;
}
@media (min-width: 769px) {
  .nav-inner {
    padding: 0 32px;
    height: 68px;
  }
  .nav--scrolled .nav-inner {
    padding: 0 24px;
    height: 56px;
  }
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

/* --- Desktop links --- */
.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
  align-items: center;
}
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    flex-direction: row;
  }
}

.nav-links a {
  color: var(--nav-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--nav-text-hover);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* CTA in nav */
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Login Button – hidden until Kundenportal is live */
.nav-login {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--nav-border-strong);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--nav-text);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-login:hover { border-color: var(--accent); color: var(--nav-text-hover); }
.nav-login svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* --- Hamburger (mobile only) --- */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--nav-border-strong);
  border-radius: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--accent); }

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--nav-text-hover);
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

/* Animated X state */
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 769px) {
  .nav-toggle { display: none; }
}

/* --- Mobile Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(26, 29, 25, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-overlay.open {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
.nav-overlay a {
  display: block;
  color: var(--nav-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-overlay a:hover {
  color: var(--nav-text-hover);
  background: rgba(255,255,255,0.06);
}
.nav-overlay .nav-overlay-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-overlay .nav-overlay-cta a {
  text-align: center;
  padding: 12px;
  border: 1px solid var(--nav-border-strong);
  border-radius: 8px;
}
.nav-overlay .nav-overlay-cta a.nav-cta {
  border-color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary,
.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn-primary:hover,
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 124, 89, 0.25);
}

.btn-secondary,
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover,
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(74, 124, 89, 0.3);
  transform: translateY(-2px);
}

.card .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.card h3 { margin-bottom: 12px; }
.card p { margin-bottom: 20px; }

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subheading {
  margin: 0 auto 36px;
}

.hero .btn-group {
  justify-content: center;
}

/* ---------- Stats ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
}

.stat { text-align: center; }

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FAQ / Accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition);
}

.package-card:hover { border-color: rgba(74, 124, 89, 0.4); }
.package-card.featured { border-color: var(--accent); }

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
}

.package-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.package-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.package-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.package-features li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 24px;
  position: relative;
}

.package-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.package-card .btn { width: 100%; text-align: center; }

/* ---------- Contact Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; }

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

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

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

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

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 0.5; }

.form-success,
.form-error { display: none; padding: 16px; border-radius: 8px; margin-top: 16px; }
.form-success { background: var(--accent-subtle); color: var(--accent); }
.form-error { background: rgba(181, 74, 74, 0.1); color: var(--error); }

/* ---------- Contact Info ---------- */
.contact-info h3 { margin-bottom: 12px; }

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

.legal-content h1 { margin-bottom: 40px; }
.legal-content h3 { margin: 32px 0 12px; color: var(--text-primary); }
.legal-content p { margin-bottom: 16px; color: var(--text-muted); }

/* ---------- Scope / Exclusions ---------- */
.scope-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
}

.scope-box h3 { margin-bottom: 16px; }

.scope-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.scope-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.scope-list li::before {
  content: '\00d7';
  position: absolute;
  left: 0;
  color: var(--scope-exclusion);
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 60px 40px;
  border: 1px solid var(--border);
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 580px; margin: 0 auto 32px; }
.cta-section .btn-group { justify-content: center; }

/* ---------- Detail Sections ---------- */
.detail-section { padding: 80px 0; }

.detail-features { list-style: none; margin-bottom: 24px; }
.detail-features li {
  padding: 8px 0 8px 28px;
  color: var(--text-muted);
  position: relative;
}
.detail-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Audit ---------- */
.audit-info {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.audit-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0 8px;
}

.audit-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
  border: none;
}

/* ============================================
   FOOTER — Beige
   ============================================ */
.footer {
  background: var(--nav-bg);
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

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

.footer-brand p {
  color: var(--footer-text);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nav-text-hover);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-links li:not(:has(a)) {
  color: var(--footer-text);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--nav-border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

.footer-bottom a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--accent); }
.footer-bottom a + a { margin-left: 1.5rem; }

/* Footer logo inherits nav-logo styling */
.footer .nav-logo {
  font-size: 1.1rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Login Modal ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 33, 25, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--nav-bg-solid);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  margin: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-primary);
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--footer-muted);
  font-size: 1.4rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--bg-primary); }

.modal-body { padding: 24px 28px 28px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nav-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal-body input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--bg-primary);
  transition: border-color 0.2s;
}
.modal-body input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.modal-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.modal-submit:hover { background: var(--accent-hover); }

.modal-footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--footer-muted);
  margin-top: 16px;
}
.modal-footer a { color: var(--accent); font-weight: 600; text-decoration: none; }
.modal-footer a:hover { text-decoration: underline; }

.modal-error {
  display: none;
  background: var(--error-action-bg);
  border: 1px solid var(--error-action-border);
  color: var(--error-action);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.modal-error.show { display: block; }

/* ---------- Dashboard ---------- */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.dash-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.dash-status.active { background: rgba(74, 124, 89, 0.15); color: var(--accent); }
.dash-status.pending { background: rgba(193, 127, 58, 0.15); color: var(--status-pending); }

.btn-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--error-action-bg);
  border: 1px solid var(--error-action-border);
  color: var(--error-action);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-logout:hover { background: rgba(224, 92, 58, 0.18); }

/* ---------- Focus States ---------- */
.btn:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.nav-logo:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible,
.nav-toggle:focus-visible,
.nav-login:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .scope-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }
  .hero { padding: 120px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .nav, .footer, .cb-overlay, .btn-group, .nav-toggle,
  .error-links, .cta-section { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
  p { color: #333; }
  a { color: #000; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  a[href^="#"]:after, a[href^="javascript"]:after { content: ""; }

  .legal-content { max-width: 100%; }
  .container { max-width: 100%; padding: 0; }

  section { padding: 20px 0; }
}
