/* Termico Dämmtechnik: Stylesheet */

:root {
  /* Farben: Klinker-Rot (Logo), Schiefer-Anthrazit, Kalk-Hellgrau */
  --red: #ce201c;
  --red-dark: #a8211a;
  --red-light: #f05a4b;      /* Rot auf dunklem Grund */
  --ink: #1c2227;            /* Schrift: Schiefer statt Schwarz */
  --ink-soft: #454e56;
  --muted: #66707a;
  --line: #dfe4e8;
  --field: #cfd6db;          /* Rahmen der Formularfelder */
  --bg: #ffffff;
  --bg-alt: #f3f5f6;         /* Kalk-Hellgrau */
  --dark: #1a2025;           /* Schiefer-Anthrazit */
  --radius: 10px;
  --shadow: 0 14px 32px rgba(26, 32, 37, .08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header: Schiefer-Anthrazit mit weißem Logo.
   Auf der Startseite liegt er oben durchsichtig auf dem Titelbild
   und bekommt beim Scrollen seinen Hintergrund. */
:root { --header-h: 88px; --header-h-small: 68px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 32, 37, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
/* Startseite: Kopfzeile schwebt über dem Titelbild und nimmt keinen Platz ein */
.site-header.header-overlay { position: fixed; left: 0; right: 0; }
/* Durchsichtig nur mit JavaScript, sonst wäre die weiße Schrift auf hellem Inhalt unlesbar */
.js .site-header.header-overlay:not(.scrolled):not(.menu-open) {
  background: transparent; border-bottom-color: transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h); transition: height .35s ease;
}
.site-header.scrolled .header-inner { height: var(--header-h-small); }
.site-header .container { max-width: none; padding: 0 clamp(20px, 3vw, 48px); }
.logo img { height: 66px; width: auto; transition: height .35s ease; }
.site-header.scrolled .logo img { height: 52px; }

.nav-list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-list > li { display: flex; align-items: center; }
.nav-list a:hover { color: var(--red-light); }
.nav-list .nav-cta a { color: #fff; padding: .8em 2.1em; }
.nav-list .nav-cta a:hover { color: #fff; }
/* Menüpunkte links neben dem Logo, Telefon und Anfrage rechts */
.site-nav { flex: 1; }
.nav-list > li:first-child { margin-left: clamp(1.5rem, 4vw, 4rem); }
.nav-list .nav-phone { margin-left: auto; }
.nav-list .nav-phone a { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; white-space: nowrap; }
.nav-list .nav-phone svg { width: 1.1em; height: 1.1em; color: var(--red-light); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1100px) {
  :root { --header-h: 76px; --header-h-small: 64px; }
  .logo img { height: 56px; }
  .site-header.scrolled .logo img { height: 48px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
    display: none;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.2rem; }
  .nav-list li a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-list > li { display: block; }
  .nav-list > li:first-child { margin-left: 0; }
  .nav-list .nav-phone { display: none; }
  .nav-list .nav-cta { margin-top: 1rem; }
  .nav-list .nav-cta a { display: flex; justify-content: center; border-bottom: 0; }
}

/* Hero: Das Titelbild ist eine feste Ebene hinter der Seite. Die Abschnitte
   schieben sich beim Scrollen darüber; bei Titel, Ablauf und Aufruf-Streifen
   sieht man es wie durch ein Fenster. Eigene Ebene statt
   background-attachment: fixed, damit es auch auf dem iPhone funktioniert. */
.hero-bg {
  position: fixed; top: 0; left: 0; width: 100%;
  height: 100vh; height: 100lvh; z-index: -1;
  background: var(--dark) url("../img/hero-mauer.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/hero-mauer.webp") type("image/webp"), url("../img/hero-mauer.jpg") type("image/jpeg"));
}
@media (max-width: 760px) {
  .hero-bg { background-image: image-set(url("../img/hero-mauer-800.webp") type("image/webp"), url("../img/hero-mauer.jpg") type("image/jpeg")); }
}
/* Alle übrigen Abschnitte decken das Bild ab */
.section:not(.section-alt):not(.section-wand) { background: var(--bg); }

.hero {
  position: relative; color: #fff;
  min-height: 100vh; min-height: 100svh;       /* erster Bildschirm komplett Bild */
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(4rem, 11vw, 8rem)) 0 7rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 26, 31, .6) 0, rgba(20, 26, 31, 0) 220px),
    linear-gradient(100deg, rgba(20, 26, 31, .93) 0%, rgba(20, 26, 31, .76) 50%, rgba(20, 26, 31, .42) 100%);
}
.hero .container { position: relative; }
.hero-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 700; color: #fff;
  border-left: 4px solid var(--red); padding-left: .8em; margin-bottom: 1.2rem;
}
.hero h1 { max-width: 16ch; }
.hero h1 span { color: var(--red-light); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 56ch; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Hinweis „Mehr erfahren“ unten im Titelbild */
.scroll-hint {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.scroll-hint:hover { color: #fff; }
.scroll-hint svg { width: 26px; height: 26px; animation: hinweis 2s ease-in-out infinite; }
@keyframes hinweis { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }

/* Aufruf-Streifen vor dem Kontakt: Fenster auf das Titelbild */
.cta-band {
  display: flex; align-items: center; position: relative; color: #fff;
  padding: clamp(4rem, 9vw, 6rem) 0;
  min-height: 70vh; min-height: 70svh;
}
.cta-band > .container { width: 100%; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 26, 31, .88) 0%, rgba(20, 26, 31, .6) 60%, rgba(20, 26, 31, .35) 100%);
}
.cta-band-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 1.1rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Benefits */
.benefits { background: linear-gradient(90deg, #c81e1a, #b51b17); color: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 1.8rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.benefit + .benefit { border-left: 1px solid rgba(255, 255, 255, .25); }
.benefit svg { width: 34px; height: 34px; flex: none; }
.benefit strong { display: block; font-size: 1.05rem; }
.benefit span { font-size: .95rem; opacity: .9; }
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.8rem; }
.eyebrow {
  display: flex; align-items: center; gap: .7em; color: var(--red); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .8rem; margin-bottom: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p { color: var(--ink-soft); }
.person-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: grid; grid-template-columns: 110px 1fr; gap: 1.4rem; align-items: center;
}
.person-card picture { display: block; }
.person-card img { border-radius: 8px; width: 110px; }
.person-card h3 { margin-bottom: .2em; }
.person-role { color: var(--muted); font-size: .95rem; margin-bottom: .8em; }
.person-card blockquote { grid-column: 1 / -1; margin: 0; font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--red); padding-left: 1rem; }
.person-phone { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.person-phone:hover { color: var(--red); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.facts {
  list-style: none; padding: 0; margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 1.6rem 1.2rem 0; display: grid; gap: .25rem; align-content: start; }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--red); line-height: 1.1; letter-spacing: -.01em; }
.facts span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.6rem; }
}
/* Firmenwagen unter „Über uns“ */
.wagen { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.wagen picture { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wagen img { width: 100%; height: auto; }
.wagen figcaption { margin-top: .7rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
  /* Auf schmalen Bildschirmen randlos, nur der leere Rand links und rechts
     wird abgeschnitten, damit Wagen und Anhänger ganz zu sehen sind */
  .wagen { margin-left: -20px; margin-right: -20px; }
  .wagen picture { border-radius: 0; border-left: 0; border-right: 0; }
  .wagen img { aspect-ratio: 1450 / 350; object-fit: cover; object-position: 43% center; }
  .wagen figcaption { padding: 0 20px; }
}
@media (max-width: 440px) {
  .facts li { padding: 1.3rem .9rem 0; }
  .facts li:nth-child(odd) { padding-left: 0; }
  .facts span { font-size: .9rem; }
}
@media (max-width: 440px) {
  .person-card { grid-template-columns: 1fr; }
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.service:hover { box-shadow: var(--shadow); }
.service-logo { height: 46px; display: flex; align-items: center; margin-bottom: 1.3rem; }
.service-logo img { max-height: 46px; width: auto; }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red);
  color: #fff; display: grid; place-items: center;
}
.service-icon svg { width: 24px; height: 24px; }
.service p { color: var(--ink-soft); }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { padding: .3em 0 .3em 1.6em; position: relative; color: var(--ink-soft); }
.service li::before {
  content: ""; position: absolute; left: 0; top: .85em;
  width: .7em; height: .7em; border-radius: 2px; background: var(--red);
}
.service-tag {
  align-self: flex-start; margin-top: auto; padding-top: 1rem;
  font-size: .85rem; font-weight: 700; color: var(--red);
}
.service-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .service-wide { grid-template-columns: 1fr; gap: .5rem; } }

/* Ablauf: Fenster auf das Titelbild */
.section-wand {
  position: relative; color: #fff;
  min-height: 85vh; min-height: 85svh; display: flex; flex-direction: column; justify-content: center;
}
.section-wand::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 26, 31, .9) 0%, rgba(20, 26, 31, .76) 55%, rgba(20, 26, 31, .62) 100%);
}
.section-wand > .container { position: relative; width: 100%; }
.section-wand .eyebrow { color: var(--red-light); }
.section-wand .section-head p,
.section-wand .process p { color: rgba(255, 255, 255, .8); }
.section-wand .process { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.section-wand .process li::before { color: var(--red-light); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process li { position: relative; padding-top: 3.6rem; }
.process li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1;
}
.process h3 { margin-bottom: .3em; }
.process p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* References */
.refs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.ref {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0;
}
.ref picture { display: block; }
.ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.35) contrast(1.03); transition: filter .4s; }
.ref:hover img { filter: none; }
.ref figcaption { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.ref-place { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: .4em; }
.ref-place svg { width: 1em; height: 1em; color: var(--red); flex: none; }
.ref-type { font-size: .9rem; color: var(--muted); }
.ref blockquote { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.ref blockquote::before { content: "„"; color: var(--red); font-weight: 800; font-size: 1.4em; line-height: 0; }
.ref blockquote::after { content: "“"; color: var(--red); font-weight: 800; font-size: 1.4em; line-height: 0; }
.ref blockquote.clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.ref-toggle {
  align-self: flex-start; background: none; border: 0; padding: 0;
  font: inherit; font-size: .92rem; font-weight: 700; color: var(--red); cursor: pointer;
}
.ref-toggle:hover { color: var(--red-dark); text-decoration: underline; }

/* Kontakt-Kacheln */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.contact-card {
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.2rem; text-align: center; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  transition: border-color .2s, box-shadow .2s;
}
a.contact-card:hover { color: var(--ink); border-color: var(--red); box-shadow: var(--shadow); }
.contact-card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; margin-bottom: .5rem;
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card-label { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--muted); }
.contact-card-value { font-weight: 700; font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* Anfrage-Formular */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: 1.1rem; position: relative;
  margin-top: 2.5rem;
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: .2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .75em .9em; border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(206, 32, 28, .18); outline-offset: 0; border-color: var(--red); }
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder { color: #98a1a8; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.checkbox input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: .9em 1.1em; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #e8f4ea; color: #1d5e2a; }
.form-status.fehler { background: #fbeaea; color: #8c1d14; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-block { width: 100%; justify-content: center; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); border-top: 4px solid var(--red); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo img { height: 56px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call button */
.call-fab {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  place-items: center;
}
.call-fab svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .call-fab { display: grid; } }

/* Legal pages */
.legal { padding: 3.5rem 0 5rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--ink-soft); }
.not-found { padding: clamp(4rem, 10vw, 7rem) 0; }
.not-found p { max-width: 56ch; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-outline { border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service, .contact-card, .ref img { transition: none; }
}
