/* Zimmerei Dachdeckerei Schöne – Entwurf Upwell GmbH */

@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* aus dem Logo (Pixelwerte) */
  --red: #ee1c25;
  --black: #231f20;
  --grey: #d2d3d5;
  /* aus customize.css der alten Website */
  --red-text: #e50000;
  --ink: #2d3840;
  --dark-2: #333333;
  --mute: #96a5b1;
  --light: #eeeeee;
  --white: #ffffff;
  /* abgeleitet */
  --ink-2: rgba(45, 56, 64, 0.76);
  --line: rgba(35, 31, 32, 0.14);
  --wrap: 1200px;
  --gut: 20px;
  --roof: 56px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Entwurfsleiste */
.draft {
  background: var(--black);
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 7px var(--gut);
}

/* Kopfzeile */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: block; flex: 0 1 auto; min-width: 0; }
.brand img { height: 56px; width: auto; max-width: 225px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 1.0625rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--black); }
.nav a:hover { border-bottom-color: var(--red); }
.nav .nav__cta { background: var(--red-text); color: var(--white); padding: 10px 18px; border: 0; font-weight: 700; }
.nav .nav__cta:hover { background: var(--black); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 9px 16px;
  border: 2px solid var(--black);
  color: var(--black);
  line-height: 1.2;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--black); color: var(--white); }
.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 32px));
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.2);
  display: flex;
  flex-direction: column;
}
.menu nav a { text-decoration: none; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--black); }
.menu nav a:last-child { border-bottom: 0; }

/* Kleine Elemente */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
}
.kicker::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  transform: translateY(3px) rotate(45deg);
  flex: none;
}
.hero .kicker,
.solar .kicker,
.contact .kicker { color: var(--white); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.2;
  padding: 15px 26px;
  border: 2px solid transparent;
}
.btn--red { background: var(--red-text); color: var(--white); }
.btn--red:hover { background: var(--white); color: var(--black); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }

.lead { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--black); }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.2) 0%, rgba(35, 31, 32, 0.06) 35%, rgba(35, 31, 32, 0.8) 100%);
}
.hero__in { position: relative; z-index: 1; padding-top: 140px; padding-bottom: calc(var(--roof) + 84px); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); max-width: 12ch; letter-spacing: -0.02em; color: var(--white); }
.hero__lead { margin: 22px 0 34px; max-width: 34ch; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cap {
  position: absolute;
  z-index: 1;
  right: var(--gut);
  bottom: calc(var(--roof) + 20px);
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Dachkante: Abschnitt beginnt mit flachem Giebel (wie die Dachlinie im Logo) */
.roof { position: relative; }
.roof::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--roof) * -1 + 1px);
  height: var(--roof);
  background: inherit;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.roof::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--roof) * -1 - 6px);
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--red);
  transform: rotate(45deg);
}

/* Eckdaten unter dem Hero */
.facts { background: var(--white); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.fact { margin: 0; padding: 34px 28px 38px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 8px; color: var(--black); }
.fact span { color: var(--ink-2); }

/* Abschnitte */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--light { background: var(--light); }
.sec__head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.sec__head .lead { margin-top: 20px; color: var(--ink-2); }

/* Intro */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.intro__text { font-size: 1.1875rem; }
.intro__text .lead { margin-bottom: 0.9em; }
.motto {
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 3px solid var(--red);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--black);
}

/* Leistungsübersicht */
.svc-index { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 3px solid var(--black); }
.svc-index a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 30px 0;
  text-decoration: none;
}
.svc-index a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.svc-index b { font-size: 1.375rem; line-height: 1.15; color: var(--black); }
.svc-index span { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.svc-index em {
  margin-top: auto;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.svc-index a:hover b { color: var(--red-text); }

/* Leistung im Detail: Kopf links (mitlaufend), Inhalt rechts */
.svc {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}
.svc:first-child { border-top: 0; }
.svc__head { position: sticky; top: 112px; align-self: start; }
.svc__no { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.svc__no::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.svc h2 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-bottom: 20px; hyphens: manual; }
.svc__lead { font-size: clamp(1.2rem, 1.9vw, 1.375rem); line-height: 1.5; color: var(--black); }
.chips-label { margin: 26px 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 0.9375rem; font-weight: 600; padding: 6px 12px; border: 1px solid var(--grey); color: var(--black); background: var(--white); }

.subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 40px; align-content: start; }
.sub { padding-top: 22px; border-top: 3px solid var(--black); }
.sub h3 { font-size: 1.5rem; margin-bottom: 12px; }
.sub p { font-size: 1.0625rem; line-height: 1.62; color: var(--ink-2); }

.svc__body p { color: var(--ink-2); }
.svc__body .big { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; color: var(--black); font-weight: 600; padding-top: 22px; border-top: 3px solid var(--black); }
.callout { margin-top: 28px; padding: 22px 24px; background: var(--light); border-left: 3px solid var(--red); color: var(--black) !important; font-size: 1.1875rem; }
.callout b { display: block; font-size: 1.375rem; }

/* Industrie: Ablauf + Maßangaben */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 18px 12px 0 0; font-weight: 700; color: var(--black); border-top: 3px solid var(--black); counter-increment: s; line-height: 1.3; }
.steps li::before { content: "0" counter(s); display: block; color: var(--red-text); font-size: 0.875rem; letter-spacing: 0.1em; margin-bottom: 4px; }
.steps li + li { border-top-color: var(--grey); }
.steps-cap { margin-top: 16px; font-size: 1rem; }
.ind-text { margin-top: 36px; }

.spec { margin: 40px 0 0; background: var(--light); padding: clamp(22px, 3vw, 34px); border-top: 3px solid var(--red); }
.spec h3 { font-size: 1.5rem; margin-bottom: 6px; }
.spec__sub { font-size: 1.0625rem; margin-bottom: 20px; }
.spec svg { display: block; width: 100%; height: auto; font-family: inherit; }
.spec dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 0; border-top: 1px solid var(--line); }
.spec dl div { padding: 14px 10px 0 0; }
.spec dl div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.spec dt { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.spec dd { margin: 2px 0 0; font-size: 1.375rem; font-weight: 700; color: var(--black); white-space: nowrap; }
.spec figcaption { margin-top: 16px; font-size: 0.875rem; color: var(--ink-2); }

/* Solar */
.solar { background: var(--black); color: var(--white); }
.solar__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.solar h2 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); color: var(--white); }
.solar p { color: rgba(255, 255, 255, 0.84); }
.solar .lead { color: var(--white); }
.solar__note { margin: 30px 0; padding: 24px 26px; border-left: 3px solid var(--red); background: var(--dark-2); }
.solar__note b { display: block; font-size: 1.375rem; color: var(--white); margin-bottom: 8px; }
.solar .solar__end { font-size: 1.375rem; font-weight: 600; color: var(--white); }

/* Qualität */
.quality { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.q { background: var(--white); padding: 30px 26px 32px; border-top: 3px solid var(--red); }
.q h3 { font-size: 1.375rem; margin-bottom: 12px; }
.q p { font-size: 1.0625rem; color: var(--ink-2); }

/* Projekte */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.work { position: relative; margin: 0; background: var(--ink); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; color: transparent; }
.work:hover img { transform: scale(1.04); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 31, 32, 0) 38%, rgba(35, 31, 32, 0.85) 100%); }
.work figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.work figcaption small { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.work figcaption small::before { content: ""; width: 22px; height: 3px; background: var(--red); }
.work figcaption b { display: block; font-size: 1.375rem; line-height: 1.15; }
.work figcaption span { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.4; color: rgba(255, 255, 255, 0.88); }
.work--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.work--big figcaption { padding: 28px 30px; }
.work--big figcaption b { font-size: 2.1rem; }
.work--wide { grid-column: span 2; aspect-ratio: auto; }

/* Unternehmen */
.about { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about h2 { font-size: clamp(2.8rem, 6.4vw, 5rem); letter-spacing: -0.02em; margin-bottom: 22px; }
.about h2 span { color: var(--red); }
.about__text p { color: var(--ink-2); }
.about__text .lead { color: var(--black); }
.about__media { margin: 0; }
.about__media .ph { aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; }
.about__media .ph img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.about__media figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }

.timeline { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--black); }
.timeline li { position: relative; padding: 24px 22px 30px 0; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--red); border: 3px solid var(--white); transform: rotate(45deg); }
.timeline b { display: block; font-size: 1.75rem; line-height: 1.1; margin-bottom: 6px; color: var(--black); }
.timeline span { display: block; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.timeline li:nth-child(n+5) { border-top: 1px solid var(--line); }

.creed { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 88px); align-items: center; }
.creed blockquote { margin: 0; }
.creed blockquote p:first-child { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); margin-bottom: 12px; }
.creed blockquote strong { display: block; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--black); }
.creed blockquote p:last-child { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }
.creed__team { background: var(--light); padding: 28px; border-left: 3px solid var(--black); }
.creed__team p { font-size: 1.0625rem; color: var(--ink-2); }
.creed__team p:first-child { color: var(--black); font-weight: 600; font-size: 1.1875rem; }

/* Jobs */
.jobs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.jobs h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 22px; }
.jobs__intro { color: var(--ink-2); }
.jobs__cards { display: grid; gap: 16px; }
.job { background: var(--white); padding: 28px 28px 30px; border-left: 3px solid var(--red); }
.job h3 { font-size: 1.5rem; margin-bottom: 10px; }
.job p { color: var(--ink-2); font-size: 1.0625rem; overflow-wrap: anywhere; }
.job .trades { color: var(--black); font-weight: 700; font-size: 1.25rem; }
.job .contact-line { color: var(--black); font-weight: 600; }

/* Kontakt */
.contact { background: var(--black); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); color: var(--white); }
.contact__lead { margin-top: 18px; color: var(--mute); font-size: 1.25rem; }
.contact__list { margin: 0; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.contact__list dt { color: var(--mute); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 5px; }
.contact__list dd { margin: 0; font-size: 1.3125rem; line-height: 1.45; overflow-wrap: anywhere; }
.person { display: flex; gap: 18px; align-items: center; margin-top: 36px; }
.person .ph { width: 96px; height: 96px; flex: none; background: var(--dark-2); overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.person b { display: block; font-size: 1.375rem; }
.person span { display: block; color: var(--mute); font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }

/* Footer */
.foot { background: var(--dark-2); color: var(--mute); font-size: 0.9375rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 26px; padding-bottom: 26px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Rechtliche Seiten */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); min-height: 62vh; }
.legal .kicker { color: var(--red-text); }
.legal__in { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); margin-bottom: 36px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal address { font-style: normal; font-size: 1.1875rem; color: var(--black); }
.legal p { color: var(--ink); }
.legal .legal__contact { font-size: 1.1875rem; color: var(--black); }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows div { display: grid; grid-template-columns: 240px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; color: var(--black); }
.rows dd { margin: 0; overflow-wrap: anywhere; }
.note-draft {
  margin-top: 40px;
  background: #fff4b8;
  border-left: 4px solid #e0b400;
  color: #3a3000;
  padding: 18px 22px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.back { display: inline-block; margin-top: 36px; font-weight: 700; color: var(--black); text-decoration-color: var(--red); text-underline-offset: 5px; }
.back:hover { color: var(--red-text); }

/* Tablet */
@media (max-width: 1080px) {
  .svc-index { grid-template-columns: repeat(3, 1fr); }
  .svc-index a:nth-child(4) { padding-left: 0; border-left: 0; }
  .svc-index a:nth-child(n+4) { border-top: 1px solid var(--line); }
  .quality { grid-template-columns: repeat(2, 1fr); }
  .spec dl { grid-template-columns: repeat(2, 1fr); }
  .spec dl div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec dl div { padding-bottom: 12px; }
}

@media (max-width: 900px) {
  :root { --roof: 36px; }
  .nav { display: none; }
  .menu { display: block; }
  .top__in { min-height: 70px; }
  .brand img { height: 48px; max-width: 195px; }
  .intro, .svc, .solar__grid, .about, .creed, .jobs, .contact__grid { grid-template-columns: 1fr; }
  .svc__head { position: static; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .work--big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .work--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Handy */
@media (max-width: 640px) {
  :root { --gut: 16px; --roof: 26px; }
  body { font-size: 1.0625rem; }
  .draft { font-size: 0.75rem; }
  .top__in { min-height: 64px; gap: 12px; }
  .brand img { height: 42px; max-width: 170px; }
  .hero { min-height: 620px; }
  .hero__in { padding-top: 100px; padding-bottom: calc(var(--roof) + 64px); }
  .hero__cap { left: var(--gut); right: auto; bottom: calc(var(--roof) + 14px); font-size: 0.8125rem; }
  .btn { padding: 14px 20px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { padding: 22px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .svc-index { grid-template-columns: 1fr; }
  .svc-index a, .svc-index a + a { padding: 20px 0; border-left: 0; }
  .svc-index a + a { border-top: 1px solid var(--line); }
  .subs { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .steps li:nth-child(3) { border-top-color: var(--black); }
  .quality { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .work--big, .work--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .work--big figcaption { padding: 20px 22px; }
  .work--big figcaption b { font-size: 1.5rem; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--black); margin-left: 7px; }
  .timeline li, .timeline li:nth-child(n+3), .timeline li:nth-child(n+5) { padding: 0 0 26px 26px; border-top: 0; }
  .timeline li::before { top: 6px; left: -9px; }
  .contact__list div { grid-template-columns: 1fr; gap: 2px; }
  .rows div { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { font-size: 1.25rem; }
}
