/* AllCredit.nl — gedeeld stylesheet */

:root {
  --navy: #12283f;
  --navy-light: #1c3c5c;
  --gold: #b8933f;
  --gold-light: #d9b968;
  --grey-bg: #f5f6f8;
  --text: #22282f;
  --text-light: #5b6470;
  --border: #e1e4e9;
  --white: #ffffff;
  --max-width: 1080px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.logo:hover { text-decoration: none; }

.logo span { color: var(--gold-light); }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text { flex: 1 1 420px; }

.hero h1 {
  font-size: 40px;
  margin: 0 0 16px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 480px;
  margin: 0 0 28px;
  color: #dbe3ec;
}

.hero-illustration {
  width: 240px;
  height: auto;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  background: var(--gold-light);
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--white);
  font-size: 15px;
  margin-left: 12px;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

/* Sections */
section {
  padding: 64px 0;
}

section.alt {
  background: var(--grey-bg);
}

h2 {
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--navy);
}

h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}

.lead {
  font-size: 17px;
  color: var(--text-light);
  max-width: 720px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px 26px;
  position: relative;
  overflow: hidden;
}

.card h3 { margin-top: 0; position: relative; }

.card p { color: var(--text-light); margin-bottom: 0; font-size: 15px; position: relative; }

.card-more { position: relative; }

.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.10;
  pointer-events: none;
}

.card-link:hover .card::after { opacity: 0.18; }

.card-link:hover .card { border-top-color: var(--gold-light); }

.card-house::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 L50 15 L90 50 M20 45 V85 H80 V45 M42 85 V60 H58 V85' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.card-refresh::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M25 35 A28 28 0 0 1 75 30 M75 30 V15 M75 30 H60 M75 65 A28 28 0 0 1 25 70 M25 70 V85 M25 70 H40' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.card-eco::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M15 55 L50 22 L85 55 M25 50 V85 H75 V50' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M50 85 C50 65 65 55 80 55 C80 75 65 85 50 85 Z' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.card-move::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M12 55 L45 25 L78 55 M20 50 V85 H70 V50' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M65 60 L88 60 M78 50 L88 60 L78 70' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.card-briefcase::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='15' y='38' width='70' height='45' rx='4' fill='none' stroke='%23b8933f' stroke-width='5'/%3E%3Cpath d='M38 38 V26 a6 6 0 0 1 6-6 h12 a6 6 0 0 1 6 6 v12' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15 58 H85' stroke='%23b8933f' stroke-width='5'/%3E%3C/svg%3E"); }

.card-shield::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 12 L82 24 V50 C82 70 68 84 50 90 C32 84 18 70 18 50 V24 Z' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M38 50 L47 60 L64 40' fill='none' stroke='%23b8933f' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.card-link:hover {
  text-decoration: none;
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(18, 40, 63, 0.12);
  transform: translateY(-2px);
}

.card-link .card { height: 100%; }

.card-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy-light);
  font-weight: 600;
  font-size: 14px;
}

.card-link:hover .card-more { color: var(--gold); }

/* Video */
.video-wrap {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(18, 40, 63, 0.18);
  border: 1px solid rgba(184, 147, 63, 0.3);
  box-sizing: border-box;
}

.video-wrap video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--navy);
}

/* Onderwerp-detailpagina's */
.topic-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 56px 0;
}

.topic-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.topic-hero-text { flex: 1 1 420px; }

.topic-hero .breadcrumb {
  font-size: 14px;
  margin-bottom: 14px;
}

.topic-hero .breadcrumb a { color: #dbe3ec; }

.topic-hero h1 { font-size: 32px; margin: 0 0 12px; }

.topic-hero p { color: #dbe3ec; max-width: 640px; margin: 0; font-size: 17px; }

.topic-icon {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.topic-content { max-width: 760px; }

.topic-content ul { padding-left: 20px; }

.cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 36px;
  text-align: center;
}

.cta-box h3 { margin-top: 0; }

/* Documenten / vergelijkingskaarten */
.doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}

.doc-card .doc-info h3 { margin-bottom: 4px; }
.doc-card .doc-info p { margin: 0; color: var(--text-light); font-size: 14px; }

.doc-status {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* Forms */
form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

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

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--navy);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}

textarea { resize: vertical; min-height: 130px; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.required { color: #b3261e; }

.contact-details {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-details h3 { margin-top: 0; }

.contact-details dl {
  margin: 18px 0 0;
}

.contact-details dt {
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 14px;
}

.contact-details dd {
  margin: 2px 0 0;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Tarieventabel */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 8px;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.price-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) { background: var(--grey-bg); }

.price-group-title {
  margin: 40px 0 4px;
  color: var(--navy);
  font-size: 18px;
}

.price-note {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin: 0 0 8px;
}

/* Legal pages */
.legal h2 { margin-top: 40px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 20px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c8d1db;
  padding: 40px 0 26px;
  font-size: 14px;
  margin-top: 40px;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.site-footer h4 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 10px;
}

.site-footer a { color: #c8d1db; }
.site-footer a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #93a0ae;
}

.footer-bottom a { color: #93a0ae; }

/* Utility */
.alert {
  background: #eef4ea;
  border: 1px solid #bcd9ab;
  color: #2d5a1e;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero p { margin: 0 auto 28px; }
  .hero-illustration { width: 170px; }
  .topic-hero .container { flex-direction: column; text-align: center; }
  .topic-hero p { margin: 0 auto; }
  .topic-icon { width: 76px; height: 76px; }
  .main-nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .site-header .container { flex-direction: column; text-align: center; }
}
