/*
Theme Name: 3TA Website
Description: Bedrijfswebsite voor 3TA BV en 3TA AI Specialist.
Author: 3TA BV
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: 3ta-website
*/
:root {
  --ink: #183340;
  --dark: #102730;
  --deep: #0d222d;
  --blue: #0074ae;
  --green: #97bd37;
  --lime: #bade68;
  --ice: #eff5f7;
  --muted: #4c6570;
  --line: #d7e4e8;
  --max: 75rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero a:focus-visible, .contact a:focus-visible { outline-color: var(--lime); }
.wrap { width: min(calc(100% - 6rem), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; transform: translateY(-150%); background: #fff; padding: .5rem 1rem; z-index: 2; }
.skip:focus { transform: none; }
.header-layout, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-layout { min-height: 5.15rem; }
.brand { display: inline-flex; flex: none; align-items: center; padding-block: .4rem; }
.brand img { display: block; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(1.15rem, 4vw, 2.55rem); }
nav a { font-weight: 700; font-size: .93rem; text-decoration: none; }
nav a:hover { color: var(--blue); }
.nav-contact { border: 1px solid #97aeb7; border-radius: .2rem; padding: .48rem .95rem; }
.hero { color: #fff; background: var(--deep); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; min-height: 34rem; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 4.8rem 1rem 4.8rem 0; }
.eyebrow { margin: 0 0 .9rem; color: #00618e; font-size: .83rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6.1vw, 6.25rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2.05rem, 4vw, 3.45rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); margin-bottom: .7rem; }
.intro { font-size: 1.16rem; color: #d4e3e9; max-width: 28rem; margin-bottom: 1.8rem; }
.button { display: inline-block; border: 1px solid transparent; border-radius: .24rem; padding: .72rem 1.15rem; font-weight: 700; text-decoration: none; text-align: center; }
.primary { background: var(--lime); color: #142518; }
.primary:hover { background: #d1ed92; }
.hero-visual { min-width: 0; position: relative; display: grid; align-items: end; }
.hero-image { position: absolute; inset: 0 -3rem 0 0; background: linear-gradient(90deg, var(--deep), transparent 27%), linear-gradient(0deg, #102730 0%, transparent 27%), url("assets/energie-hero.webp") center / cover no-repeat, #214a5b; }
.hero-note { position: relative; margin: 0 0 1.5rem 1rem; width: fit-content; display: flex; flex-wrap: wrap; gap: .5rem 1rem; border: 1px solid #81959a; background: #102730; padding: .55rem .85rem; color: #eff5f7; font-size: .85rem; }
.hero-note span { display: flex; align-items: center; gap: .38rem; }
.hero-note i { width: .4rem; height: .4rem; background: var(--lime); border-radius: 50%; }
.section { padding-block: clamp(3rem, 7vw, 6.4rem); }
.section-intro { max-width: 45rem; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.11rem; max-width: 39rem; margin-bottom: 2rem; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.application { border: 1px solid var(--line); padding: clamp(1.35rem, 3.15vw, 2.4rem); }
.application p { max-width: 32rem; }
.application p:last-child, .project p:last-child, .steps p, .about-layout > p, .contact p:last-child { margin-bottom: 0; }
.rule { display: block; height: .26rem; width: 2.75rem; background: var(--green); margin-bottom: 1.15rem; }
.method, .about { background: var(--ice); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.steps article { border-top: 2px solid var(--blue); padding: 1.1rem .5rem 0 0; }
.steps p, .project > p:not(.label), .about-layout > p { color: var(--muted); }
.projects { margin-top: 2rem; }
.project { padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid var(--line); background: #f8fbfc; }
.label { font-size: .85rem; font-weight: 700; color: #00618e; margin-bottom: .65rem; }
.text-link { font-weight: 700; color: #00618e; text-underline-offset: .23rem; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: center; }
.about h2 { margin-bottom: 0; }
.contact { background: var(--ink); color: #fff; }
.contact-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.contact-layout > div { max-width: 45rem; }
.contact p:last-child { color: #d4e3e9; }
.contact .button { flex: none; }
.footer { justify-content: flex-start; min-height: 5rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 65rem) {
  .wrap { width: min(calc(100% - 3.4rem), var(--max)); }
  .hero-image { right: -1.7rem; }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2.2rem); }
  .header-layout { min-height: 4rem; }
  nav { gap: .8rem; }
  nav a { font-size: .85rem; }
  .nav-contact { padding: .34rem .52rem; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 3.5rem 0 2rem; position: relative; }
  .hero-visual { min-height: 15rem; }
  .hero-image { inset: 0 -1.1rem; background-image: linear-gradient(180deg, var(--deep), transparent 25%), linear-gradient(0deg, var(--deep), transparent 30%), url("assets/energie-hero.webp"); }
  .hero-note { margin-left: 0; }
  .columns, .about-layout { grid-template-columns: 1fr; }
  .desktop { display: none; }
  .contact-layout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 28rem) {
  .header-layout { flex-wrap: wrap; justify-content: center; gap: .3rem; padding-block: .45rem .65rem; }
  nav { justify-content: center; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .hero-note { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (min-width: 65.01rem) {
  .hero-image { right: min(-3rem, calc((75rem - 100vw) / 2)); }
}
@media (max-width: 28rem) {
  h1 { font-size: clamp(1.95rem, 11vw, 3rem); }
}

.content-only { max-width: 51rem; }
.content-only :where(img, video, iframe) { max-width: 100%; }
.content-only :where(img, video) { height: auto; }
.content-only article + article { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2.5rem; }
