/* ==========================================================================
   Kroneman Industriële Automatisering — stylesheet
   ========================================================================== */

:root {
  --navy-900: #101f33;
  --navy-800: #1a3350;
  --navy-700: #234163;
  --navy-600: #2d5078;
  --slate-600: #52606d;
  --slate-400: #8b98a8;
  --slate-200: #e3e8ee;
  --slate-100: #eef1f5;
  --bg-light: #f6f8fa;
  --white: #ffffff;
  --accent: #d98a3d;
  --accent-dark: #b56f2c;
  --text: #1a2332;
  --text-light: #52606d;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 22px rgba(16, 31, 51, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 31, 51, 0.18);
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-light); }

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

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--navy-900); }
.section-head p { font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.logo img { height: 40px; width: auto; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-800);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--slate-100); }
.main-nav a.active { color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-800);
}
.header-phone svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px) {
  .header-phone span.phone-text { display: none; }
  .main-nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid var(--slate-200);
    overflow-y: auto;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .nav-toggle { display: block; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: 150px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(16,31,51,.93) 0%, rgba(26,51,80,.88) 45%, rgba(35,65,99,.72) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  max-width: 760px;
  color: var(--white);
}
.hero .lead {
  font-size: 19px;
  max-width: 620px;
  color: rgba(255,255,255,0.86);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.page-hero {
  padding: 96px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 44px); max-width: 720px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; font-size: 17px; }
.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--white); }

/* ---------------- USP strip ---------------- */
.usp-strip { background: var(--navy-900); padding: 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  padding: 40px 28px;
  border-left: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.usp-item:first-child { border-left: none; }
.usp-item .num { font-size: 26px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.usp-item .label { font-size: 14.5px; color: rgba(255,255,255,0.78); }
@media (max-width: 860px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .usp-item:nth-child(1), .usp-item:nth-child(2) { border-top: none; }
}

/* ---------------- About teaser ---------------- */
.about-teaser { background: var(--bg-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 15px;
}
.checklist svg { flex: none; margin-top: 3px; color: var(--accent-dark); }

/* ---------------- Cards: segments ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.segment-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.segment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.segment-card .icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  margin-bottom: 20px;
}
.segment-card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 8px; }
.segment-card p { font-size: 14.5px; margin: 0; }

/* ---------------- Solutions timeline ---------------- */
.solutions-list { display: flex; flex-direction: column; gap: 0; }
.solution-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  position: relative;
}
.solution-row .rail {
  display: flex; flex-direction: column; align-items: center;
}
.solution-row .dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  flex: none;
  box-shadow: 0 0 0 6px var(--white);
}
.solution-row .line { width: 2px; flex: 1; background: var(--slate-200); margin: 6px 0; min-height: 24px; }
.solution-row:last-child .line { display: none; }
.solution-content { padding-bottom: 44px; }
.solution-content h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 8px; }
.solution-content p { font-size: 15.5px; margin: 0; max-width: 640px; }

/* ---------------- Teaser process strip (home) ---------------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
}
@media (max-width: 900px) {
  .process-strip { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .process-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 36px); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Stats / standards badges ---------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  padding: 9px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 700px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 26px;
}
.stat-box .num { font-size: 30px; font-weight: 800; color: var(--navy-900); }
.stat-box .label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-line svg { flex: none; color: var(--accent-dark); margin-top: 3px; }
.contact-line strong { display: block; color: var(--navy-900); font-size: 14px; margin-bottom: 2px; }
.contact-line a, .contact-line span { color: var(--text-light); font-size: 15px; }
.contact-line a:hover { color: var(--navy-800); }

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 8px;
  filter: grayscale(15%);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(45,80,120,0.14);
}
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--slate-400); margin-top: 14px; }
.form-status { font-size: 14px; margin-top: 14px; display: none; }
.form-status.visible { display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo { height: 34px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h4 { color: var(--white); font-size: 14.5px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { font-size: 14.5px; transition: color .15s ease; }
.site-footer a:hover { color: var(--white); }
.footer-about p { color: rgba(255,255,255,0.65); font-size: 14.5px; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; opacity: .8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------------- Legal pages ---------------- */
.legal-content h2 { color: var(--navy-900); margin-top: 1.6em; font-size: 20px; }
.legal-content p, .legal-content li { color: var(--text-light); }
.notice-box {
  background: #fff6ea;
  border: 1px solid #f0ddb8;
  color: #7a5518;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
  margin-bottom: 32px;
}

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
