/* ===================================================================
   Nordwärme Kiel — Heizung · Sanitär · Wärmepumpe (Meisterbetrieb)
   Direction: "Stahl & Wärme" — steel-navy ground, warm heat accent,
   cool paper content. Display: Manrope · Body: Inter.
   =================================================================== */

:root {
  --paper: #f6f8fa;
  --paper-2: #eef2f6;
  --ink: #16222c;
  --steel: #0f2a3f;      /* deep steel navy ground */
  --steel-2: #163a55;
  --heat: #e8562a;       /* warm "Wärme" accent */
  --heat-deep: #c9431c;
  --blue: #1c6da6;       /* trust blue */
  --green: #2e7d5b;      /* förderung / check */
  --muted: #5d6b76;
  --hair: #dde5ec;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 44px -22px rgba(15, 42, 63, 0.4);
  --shadow-sm: 0 8px 20px -12px rgba(15, 42, 63, 0.35);
  --maxw: 1140px;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--heat); }
.eyebrow.on-dark { color: #ff8a5c; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--heat); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--white); text-shadow: 0 1px 12px rgba(0,0,0,.45); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.brand .mark { width: 26px; height: 26px; }
.brand em { font-style: normal; color: #ff8a5c; font-weight: 700; }
.site-header.scrolled { background: var(--steel); box-shadow: 0 2px 20px -6px rgba(0,0,0,.4); padding: 11px 24px; }
.site-header.scrolled .brand { text-shadow: none; }
.header-call { display: inline-flex; align-items: center; gap: 8px; background: var(--heat); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow-sm); transition: background .2s ease, transform .2s ease; }
.header-call:hover { background: var(--heat-deep); transform: translateY(-1px); }
.header-call svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; padding: 15px 26px; border-radius: 100px; border: 0; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--heat); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--heat-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--steel { background: var(--steel); color: var(--white); }
.btn--steel:hover { background: var(--steel-2); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 0%, #1b4b6e 0%, transparent 60%), linear-gradient(160deg, #0f2a3f 0%, #13344c 55%, #0d2536 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 84px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6.2vw, 62px); color: var(--white); max-width: 15ch; margin-top: 16px; }
.hero p.lede { max-width: 46ch; margin: 22px 0 0; font-size: clamp(17px, 2.2vw, 20px); color: #cfdbe6; }
.hero .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #dbe6ef; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 7px 13px; border-radius: 100px; }
.chip svg { width: 15px; height: 15px; color: #ff8a5c; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Blueprint / heat-pump visual */
.hero__art { position: relative; aspect-ratio: 1/1; border-radius: 22px; background: linear-gradient(155deg, #16405f, #0e2636 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }
.hero__art svg { width: 100%; height: 100%; display: block; }

/* subtle blueprint grid on hero */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px; -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(120% 100% at 70% 0%, #000 30%, transparent 75%); }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(29px, 4.6vw, 44px); margin-top: 12px; }
.section-head p { color: var(--muted); margin: 16px 0 0; }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.svc { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--heat) 12%, transparent); color: var(--heat-deep); margin-bottom: 16px; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }

/* ---------- Ablauf (process) ---------- */
.process { background: var(--steel); color: #e6eef4; }
.process h2 { color: var(--white); }
.process .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; background: var(--heat); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; color: var(--white); }
.step p { color: #b7c6d3; font-size: 14px; margin: 7px 0 0; }

/* ---------- Förderung band ---------- */
.foerder { background: linear-gradient(135deg, #2e7d5b, #276b4d); color: #fff; }
.foerder .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-top: 56px; padding-bottom: 56px; }
.foerder .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.02em; max-width: 20ch; }
.foerder p { color: #d8f0e5; margin: 10px 0 0; max-width: 42ch; }

/* ---------- Recruiting ---------- */
.jobs .card { background: var(--white); border: 1px solid var(--hair); border-radius: 22px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.jobs .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.jobs h2 { font-size: clamp(26px, 4vw, 40px); margin-top: 10px; }
.jobs p { color: var(--muted); margin: 16px 0 0; }
.jobs ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.jobs ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.jobs ul li svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; margin-top: 1px; }

/* ---------- Kontakt ---------- */
.contact .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 60px); }
.info-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); align-self: start; }
.info-card .status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); padding: 5px 12px; border-radius: 100px; margin-bottom: 18px; }
.info-card .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.info-card h3 { font-size: 20px; }
.dl { display: grid; gap: 18px; margin: 18px 0 0; }
.dl dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dl dd { margin: 3px 0 0; font-size: 16px; }
.dl dd a { color: var(--heat-deep); text-decoration: none; font-weight: 600; }
.dl dd a:hover { text-decoration: underline; }
.contact-actions { display: grid; gap: 12px; margin-top: 24px; }
.emergency { margin-top: 22px; font-size: 14px; color: var(--muted); }
.emergency strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel); color: #b8c7d3; padding: 56px 0 40px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand { color: var(--white); text-shadow: none; font-size: 22px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #b8c7d3; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--white); }
.site-footer .rule { height: 1px; background: rgba(255,255,255,.12); margin: 32px 0 22px; }
.site-footer .fine { font-size: 13px; color: #8598a6; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 90px; }
.legal h1 { font-size: clamp(32px, 6vw, 46px); }
.legal h2 { font-size: 21px; margin: 38px 0 10px; }
.legal p, .legal address { color: var(--ink); margin: 10px 0; font-style: normal; }
.legal a { color: var(--heat-deep); }
.back-link { display: inline-block; margin-top: 40px; font-weight: 700; color: var(--heat-deep); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 380px; margin-top: 8px; }
  .jobs .card { grid-template-columns: 1fr; gap: 26px; }
  .contact .container { grid-template-columns: 1fr; }
  .header-call span { display: none; }
  .header-call { padding: 10px 12px; }
}
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
  .process .steps { grid-template-columns: 1fr; }
}
