/* ============================================
   MMDEV WEBSITE v3 — LICHT & FRIS
   ============================================ */
:root {
  --white: #ffffff;
  --bg: #f7f9f5;
  --bg-2: #eef3eb;
  --surface: #ffffff;
  --surface-2: #f2f6ef;

  --green: #2d8a4e;
  --green-hover: #226b3d;
  --green-light: #4ab868;
  --green-pale: #e8f4ec;
  --green-border: rgba(45,138,78,0.18);
  --green-glow: rgba(45,138,78,0.08);

  --ink: #0f1a0f;
  --ink-2: #344034;
  --ink-3: #637063;
  --ink-4: #9aaa9a;

  --border: rgba(15,26,15,0.08);
  --border-2: rgba(15,26,15,0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 1px 3px rgba(15,26,15,0.06), 0 1px 2px rgba(15,26,15,0.04);
  --shadow-md: 0 4px 16px rgba(15,26,15,0.08), 0 2px 4px rgba(15,26,15,0.04);
  --shadow-lg: 0 12px 40px rgba(15,26,15,0.1), 0 4px 8px rgba(15,26,15,0.05);
  --shadow-green: 0 8px 32px rgba(45,138,78,0.2);

  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); font-size: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; padding: 0 2.5rem; height: 64px;
  background: #e2e2e2;
  backdrop-filter: none;
  border-bottom: 1px solid #d0d0d0;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { margin-right: auto; display: flex; align-items: center; overflow: visible; }
.nav-logo img { height: 68px; width: auto; object-fit: contain; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.nav-logo-text span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; margin-right: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--ink-3); font-weight: 400; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--green); color: #fff;
  padding: 0.5rem 1.2rem; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: var(--shadow-green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-2); border-radius: 2px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem; border-radius: var(--radius-full);
  font-size: 0.925rem; font-weight: 500; cursor: pointer; border: none;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border-2); }
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }
.btn-ghost { background: transparent; color: var(--ink-3); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--green); gap: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTIONS ---- */
.section { padding: 7rem 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase; margin-bottom: 1rem;
}
.section-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--green); border-radius: 2px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; margin-bottom: 1.1rem;
  color: var(--ink);
}
.section-sub { font-size: 1rem; color: var(--ink-3); line-height: 1.75; max-width: 520px; }
.section-header { max-width: 620px; margin-bottom: 4rem; }

/* ---- PAGE HERO (subpages) ---- */
.page-hero { padding: 5rem 0 5rem; background: var(--white); border-bottom: 1px solid var(--border); }
.page-hero-inner { position: relative; z-index: 1; }
/* Alias: .section-tag = .section-eyebrow for backwards compat */
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--green); text-transform: uppercase; margin-bottom: 1rem;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--green); border-radius: 2px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.1rem; color: var(--ink); }
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero p { font-size: 1.05rem; color: var(--ink-3); line-height: 1.72; max-width: 540px; margin-bottom: 2rem; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--green-pale); border: 1px solid var(--green-border); color: var(--green); padding: 0.3rem 0.85rem; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 500; margin-bottom: 1.5rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--ink-4); margin-bottom: 2rem; }
.breadcrumb a { color: var(--ink-3); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }

/* ---- FEATURE ---- */
.feature { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--white); transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.feature:hover { border-color: var(--green-border); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.feature-icon-wrap { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.feature-body h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--ink); }
.feature-body p { font-size: 0.855rem; color: var(--ink-3); line-height: 1.65; }

/* ---- DIENST CARD ---- */
.dienst-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.dienst-card:hover { border-color: var(--green-border); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dienst-num { font-family: var(--font-display); font-size: 0.68rem; color: var(--ink-4); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.dienst-icon-wrap { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 1.1rem; }
.dienst-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--ink); }
.dienst-card p { font-size: 0.875rem; color: var(--ink-3); line-height: 1.72; }

/* ---- PRICING ---- */
.tarief-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: box-shadow var(--transition); }
.tarief-card.featured { border-color: var(--green); box-shadow: var(--shadow-green); }
.pricing-badge { display: inline-block; background: var(--green-pale); color: var(--green); font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); margin-bottom: 1.25rem; letter-spacing: 0.04em; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.pricing-list li { font-size: 0.875rem; color: var(--ink-2); display: flex; align-items: center; gap: 0.6rem; }
.pricing-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 0.8rem; }
.pricing-note { font-size: 0.72rem; color: var(--ink-4); margin-top: 0.85rem; text-align: center; }

/* ---- CONTACT FORM ---- */
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.25rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; color: var(--ink-3); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: var(--ink); font-size: 0.9rem; outline: none; transition: border-color var(--transition), background var(--transition); width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); background: var(--white); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-4); }
.form-group select option { background: var(--white); color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.1rem 2.5rem; }
.trust-inner { display: flex; align-items: center; gap: 2rem; max-width: 1160px; margin: 0 auto; }
.trust-label { font-size: 0.72rem; color: var(--ink-4); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.trust-logo { font-size: 0.8rem; color: var(--ink-3); font-weight: 500; }
.trust-divider { color: var(--ink-4); }

/* ---- TAGS ---- */
.tag { background: var(--bg-2); border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: var(--radius-full); font-size: 0.78rem; color: var(--ink-3); transition: border-color var(--transition), color var(--transition); }
.tag:hover { border-color: var(--green-border); color: var(--green); }

/* ---- AVG CHECKLIST (avg.html) ---- */
.avg-check-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--ink-2); padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.avg-check-item:last-child { border-bottom: none; }
.avg-check-item::before { content: "✓"; color: var(--green); font-weight: 700; width: 20px; height: 20px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
.avg-checklist-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.subverwerker-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.subverwerker-table th { font-size: 0.75rem; font-weight: 600; color: var(--ink-3); text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1.5px solid var(--border); letter-spacing: 0.05em; text-transform: uppercase; }
.subverwerker-table td { font-size: 0.875rem; color: var(--ink-2); padding: 0.75rem; border-bottom: 1px solid var(--border); }
.subverwerker-table tr:last-child td { border-bottom: none; }

/* ---- LEGAL ---- */
.legal-page { padding: 9rem 0 6rem; }
.legal-content { max-width: 740px; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: 2.5rem 0 0.75rem; color: var(--ink); }
.legal-content h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 1.75rem 0 0.5rem; color: var(--ink); }
.legal-content p { font-size: 0.925rem; color: var(--ink-3); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.legal-content ul li { font-size: 0.925rem; color: var(--ink-3); line-height: 1.8; padding-left: 1.25rem; position: relative; }
.legal-content ul li::before { content: "•"; position: absolute; left: 0; color: var(--green); }
.legal-meta { background: var(--green-pale); border: 1px solid var(--green-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 3rem; }
.legal-meta p { font-size: 0.82rem; color: var(--ink-2); margin: 0; line-height: 1.65; }
.legal-meta strong { color: var(--ink); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ---- FOOTER ---- */
.footer { background: var(--ink); color: rgba(255,255,255,0.85); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 4rem 2.5rem 3rem; display: grid; grid-template-columns: 1.5fr 2fr; gap: 5rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); margin-top: 0.75rem; line-height: 1.65; }
.footer-brand .nav-logo img { height: 56px; }
.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding: 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 0.775rem; color: rgba(255,255,255,0.3); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.reveal { opacity:0; transform:translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.anim-1 { animation: fadeUp 0.6s ease both; }
.anim-2 { animation: fadeUp 0.6s 0.08s ease both; }
.anim-3 { animation: fadeUp 0.6s 0.16s ease both; }
.anim-4 { animation: fadeUp 0.6s 0.24s ease both; }

/* ---- RESPONSIVE ---- */
@media(max-width:1024px) {
  .two-col { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media(max-width:768px) {
  .nav { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
  .three-col { grid-template-columns: 1fr !important; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { padding: 1rem 1.25rem; }
  .page-hero { padding: 7rem 0 3.5rem; }
  .legal-page { padding: 7rem 0 4rem; }
}
