/**
 * KerionSteen — Stijlen juridische pagina's
 * ============================================================
 * Bestand:    assets/css/legal.css
 * Gebruikt door: privacy.html, av.html, disclaimer.html, cookies.html
 *
 * Inhoudsopgave:
 *  1.  Variabelen & reset
 *  2.  Typografie
 *  3.  Navigatie (terugknop)
 *  4.  Hero (paginatitel)
 *  5.  Contentgebied
 *  6.  Tabel
 *  7.  Footer
 * ============================================================
 */


/* ============================================================
   1. VARIABELEN & RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #F4F1EB;
  --bg2:       #E8E2D8;
  --dark:      #1A2820;
  --mid:       #2E3C34;
  --stone:     #5A7060;
  --accent:    #C07A1A;
  --accent2:   #8A5510;
  --green:     #1F4B38;
  --light:     #FDFAF4;
  --border:    #C8D4CC;
  --radius:    4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: #3A3028;
  line-height: 1.7;
}


/* ============================================================
   2. TYPOGRAFIE
   ============================================================ */

/* Grote paginatitel */
h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* Artikelkoppen */
h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
  color: var(--green);
}

/* Subkoppen binnen artikelen */
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--dark);
}

p   { margin-bottom: 1rem; }
a   { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Lijsten */
ul, ol  { margin: 0.5rem 0 1rem 1.5rem; }
li      { margin-bottom: 0.4rem; }
strong  { color: var(--dark); }


/* ============================================================
   3. NAVIGATIE (terugknop bovenaan)
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 235, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.8rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-inner img {
  height: 90px;
  width: auto;
}

/* Terugknop naar de hoofdsite */
.nav-back {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--accent); text-decoration: none; }


/* ============================================================
   4. HERO (donkergroene paginatitelbalk)
   ============================================================ */

.hero-legal {
  background: var(--green);
  padding: 4rem 0 3rem;
}

.hero-legal .container { position: relative; }

/* Broodkruimelnavigatie */
.breadcrumb {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.breadcrumb a             { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.breadcrumb a:hover       { color: white; }

.hero-legal h1            { color: white; margin-bottom: 0.5rem; }
.hero-legal .subtitle     { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }


/* ============================================================
   5. CONTENTGEBIED
   ============================================================ */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-area { padding: 4rem 0 6rem; }

/* Witte contentkaart met rand */
.content-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem;
  margin-bottom: 2rem;
}

/* Oranje highlight-balk (vestigingsgegevens, versie-info) */
.meta-box {
  background: rgba(192, 122, 26, 0.08);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.meta-box strong { color: var(--accent); }


/* ============================================================
   6. TABEL (bijv. cookietabel, verwerkingsdoelen)
   ============================================================ */

.table-responsive {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

/* Koptekstrij */
th {
  background: var(--dark);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: #3A3028;
}

tr:hover td { background: rgba(192, 122, 26, 0.05); }


/* ============================================================
   7. FOOTER
   ============================================================ */

footer {
  background: var(--dark);
  color: var(--light);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links     { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a   { font-size: 0.8rem; color: #9A9080; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy      { font-size: 0.8rem; color: #9A9080; }
