/* Lüftungsbau Jorissen GmbH – Design „Hell & Navy" */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B2257;
  --navy-2: #1A3170;
  --blue: #2E99D4;
  --blue-text: #1B6FA0;
  --muted: #4A5878;
  --line: #E3E8F0;
  --input: #C9D2E0;
  --badge: #EEF2F8;
  --soft: #FAFBFD;
  --required: #C0392B;
  --radius: 8px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: #fff;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--blue-text); }
h1, h2, h3 { margin: 0; color: var(--navy); }
p { margin: 0; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.section { padding: 96px 0; }
.section--line { border-top: 1px solid var(--line); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--navy-2); }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.lead { font-size: 18px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 14px 26px; border-radius: 6px;
  font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .arr { transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue-text); color: #fff; }
.btn--outline { border-color: var(--navy); background: #fff; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-header__logo img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex: 1; }
.nav__list { display: flex; gap: 40px; list-style: none; margin: 0 auto; padding: 0; }
.nav__link {
  color: var(--navy-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s, color .3s;
}
.nav__link:hover { background-size: 100% 2px; color: var(--navy); }
.nav__phone { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 18px; min-height: 44px; }
.nav__phone svg { fill: currentColor; }
.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line); color: var(--navy);
  width: 48px; height: 48px; border-radius: 6px; align-items: center; justify-content: center; cursor: pointer;
}
.progress { height: 3px; background: var(--blue); transform-origin: left; transform: scaleX(0); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11, 34, 87, .08);
    padding: 8px clamp(20px, 4vw, 64px) 24px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; margin: 0; }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); background-image: none; }
  .nav__phone { margin-top: 12px; }
}

/* Hero + Bildbänder mit weißem Verlauf */
.band { position: relative; overflow: hidden; background: #fff; }
.band__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; overflow: hidden; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.band__fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.88) 44%, rgba(255,255,255,.35) 56%, rgba(255,255,255,0) 66%);
}
.band--cap .band__photo { width: 58%; }
.band--cap .band__photo img { object-position: 55% center; }
.band--cap .band__fade { background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.3) 62%, rgba(255,255,255,0) 72%); }
.band__inner { position: relative; padding-top: 96px; padding-bottom: 104px; }
.band__content { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.band--cap .band__content { max-width: 600px; gap: 20px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero__text { font-size: 18px; max-width: 32em; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }

@media (max-width: 1200px) and (min-width: 901px) {
  .band__photo, .band--cap .band__photo { width: 70%; }
  .band__fade, .band--cap .band__fade {
    background: linear-gradient(90deg, #fff 0%, #fff 36%, rgba(255,255,255,.92) 52%, rgba(255,255,255,.55) 68%, rgba(255,255,255,0) 88%);
  }
}
@media (max-width: 900px) {
  .band__photo, .band--cap .band__photo { width: 100%; }
  .band__fade, .band--cap .band__fade { background: rgba(255, 255, 255, .88); }
  .band__inner { padding-top: 64px; padding-bottom: 72px; }
}
/* Hero und Kapazität: Foto über die ganze Breite und rechts klar, weißer Schleier nur hinter dem Text */
.hero .band__photo, .band--cap .band__photo { width: 100%; }
.hero .band__fade, .band--cap .band__fade {
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.65) 44%, rgba(255,255,255,.2) 56%, rgba(255,255,255,0) 64%);
}
@media (max-width: 1200px) and (min-width: 901px) {
  .hero .band__fade, .band--cap .band__fade {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.6) 62%, rgba(255,255,255,0) 82%);
  }
}
@media (max-width: 900px) {
  .hero .band__fade, .band--cap .band__fade { background: rgba(255, 255, 255, .86); }
}

/* Symbol-Leisten */
.iconbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.iconbar__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.iconbar__item { display: flex; align-items: center; gap: 26px; padding: 26px 28px; border-right: 1px solid var(--line); }
.iconbar__item:first-child { padding-left: 0; }
.iconbar__item:last-child { border-right: 0; padding-right: 0; }
.iconbar__item svg { flex-shrink: 0; stroke: var(--navy); }
.iconbar__text { display: flex; flex-direction: column; }
.iconbar__label { font-size: 15px; color: var(--muted); }
.iconbar__value { font-size: 20px; font-weight: 700; }
.iconbar__item > span { font-size: 17px; color: var(--navy-2); }
.iconbar__item strong { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) {
  .iconbar__item { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .iconbar__item:last-child { border-bottom: 0; }
}

/* Leistungen */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head .stack { gap: 14px; max-width: 720px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.row {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; gap: 24px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: border-color .45s;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateX(-101%); transition: transform .55s var(--ease-io);
}
.row:hover { border-color: var(--navy); }
.row:hover::before { transform: none; }
.row h3 { font-size: 19px; font-weight: 700; transition: color .4s; }
.row p { font-size: 15px; color: var(--muted); transition: color .4s; }
.row:hover h3 { color: #fff; }
.row:hover p { color: #D3DCEB; }
.row:hover .badge { background: var(--blue); color: var(--navy); }
.row__body { display: flex; flex-direction: column; gap: 4px; }
.badge {
  flex-shrink: 0; width: 48px; height: 44px; border-radius: 6px; background: var(--badge); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600;
  transition: background-color .4s, color .4s;
}
.photo { position: relative; min-height: 420px; border-radius: 10px; overflow: hidden; margin: 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo:hover img { transform: scale(1.05); }

/* Ablauf */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px 26px; background: #fff;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11, 34, 87, .10); border-color: #C9D4E6; }
.step .badge { align-self: flex-start; }
.step:hover .badge { background: var(--navy); color: #fff; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 16px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-top: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 40px; align-items: stretch; }
.cities { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.city {
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.city:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(11, 34, 87, .10); border-color: var(--blue); }
.city svg { flex-shrink: 0; stroke: var(--navy); transition: transform .35s var(--ease-out); }
.city:hover svg { transform: translateY(-3px); }
.city__text { display: flex; flex-direction: column; line-height: 1.35; }
.city__name { font-weight: 700; font-size: 17px; }
.city__region { font-size: 14px; color: var(--muted); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 40px 0; }
.contact__info { flex: 1 1 380px; min-width: 0; padding-right: 40px; }
.contact__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__list li { display: flex; align-items: center; gap: 24px; }
.contact__list li.top { align-items: flex-start; }
.contact__list svg { flex-shrink: 0; }
.contact__phone { font-size: 24px; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact__strong { font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact__addr { display: flex; flex-direction: column; line-height: 1.5; }
.contact__addr span { font-size: 17px; color: var(--muted); }
.form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--line); padding-left: 40px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.form .req { color: var(--required); }
.form .field {
  border: 1px solid var(--input); border-radius: 4px; padding: 11px 12px; min-height: 46px; color: var(--navy); background: #fff;
}
.form textarea.field { resize: vertical; min-height: 120px; }
.form .field:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--navy); }
.form__file-label { font-size: 15px; font-weight: 500; }
.form__file-label span { font-weight: 400; color: var(--muted); }
.drop {
  position: relative; flex-direction: row !important; align-items: center; justify-content: center; gap: 12px !important;
  border: 1.5px dashed #B6C3D8; border-radius: 6px; padding: 14px; min-height: 52px; cursor: pointer;
  color: var(--muted); font-weight: 400 !important; background: var(--soft);
  transition: border-color .3s, background-color .3s;
}
.drop:hover, .drop.is-over { border-color: var(--blue); background: #F1F7FC; }
.drop:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop.has-file { color: var(--navy); font-weight: 600 !important; }
.form__check { flex-direction: row !important; align-items: flex-start; gap: 12px !important; color: var(--muted); font-weight: 400 !important; line-height: 1.5; }
.form__check input { margin-top: 3px; width: 20px; height: 20px; flex-shrink: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 6px; }
.form__hint { font-size: 14px; color: var(--muted); }
.form__status { font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form__status.is-ok { color: #1E6B3A; }
.form__status.is-error { color: #A12A2A; }
@media (max-width: 920px) {
  .contact__info { padding-right: 0; }
  .form { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-top: 28px; padding-bottom: 28px; }
.site-footer img { height: 64px; width: auto; }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 10px 0; }
.site-footer a:hover { color: var(--blue-text); }

/* Rechtstexte */
.legal { padding: 80px 0 112px; }
.legal .container { max-width: 988px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--muted); }
.legal strong { color: var(--navy); }

/* ── Bewegung ──────────────────────────────────────────── */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes parallax { from { transform: translateY(0) scale(1.1); } to { transform: translateY(10%) scale(1.1); } }

.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; animation: rise 1s var(--ease-io) both; }
.anim-fade { animation: fade .9s var(--ease-out) both; }
.anim-wipe { animation: wipe 1.3s var(--ease-io) both; }

@supports (animation-timeline: view()) {
  .hero .band__photo img { animation: parallax linear both; animation-timeline: scroll(); animation-range: 0 800px; }
  .progress { animation: grow linear both; animation-timeline: scroll(); }
  .reveal { animation: fade linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  .slide { animation: slideIn linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  .wipe-in { animation: wipe linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .site-header__logo img { height: 52px; }
  .site-footer img { height: 52px; }
  .photo { min-height: 300px; }
}
