/* Stahlkant Bau – Demo · FatCat Digital
   Stil: kraftvoll, groß, industriell. Beton, Stahl, Signalorange. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-german.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141618;          /* Stahl, fast schwarz */
  --steel: #1f2326;
  --steel-2: #2b3034;
  --concrete: #d9d6d0;     /* Sichtbeton hell */
  --paper: #eeece8;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(20,22,24,.16);
  --text-dark: #f2f0ec;    /* Text auf dunkel */
  --muted-dark: #a9adb1;   /* 7.9:1 auf --ink */
  --text-light: #141618;
  --muted-light: #4a4f54;  /* 7.4:1 auf --paper */
  --accent: #ff5f1f;       /* Signalorange: Flächen, Akzente auf dunkel (6.3:1 auf --ink) */
  --accent-ink: #b23a0a;   /* Orange-Text auf hell (5.3:1 auf --paper) */
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 3rem);
  --max: 85rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.section-light :focus-visible, .section-concrete :focus-visible { outline-color: var(--accent-ink); }

.skip {
  position: absolute; left: 8px; top: 0; transform: translateY(-120%); z-index: 100;
  background: var(--accent); color: var(--ink); padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.skip:focus { transform: translateY(8px); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .78em; letter-spacing: .04em; }

/* ---------- Topbar: Demo-Hinweis + Header (gemeinsam sticky) ---------- */
.topbar { position: sticky; top: 0; z-index: 50; }

.demobar {
  margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2px 14px;
  padding: 6px var(--gutter);
  background: #000; color: #e6e6e6;
  font-size: .75rem; line-height: 1.35; text-align: center;
}
.demobar a { color: var(--accent); font-weight: 600; text-underline-offset: 2px; }
.demobar a:hover { color: #fff; }

.site-header {
  background: rgba(20,22,24,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-dark); }
.logo-mark { color: #fff; flex: none; width: 2rem; height: 2rem; }
.logo-text, .footer-brand {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: 1.15rem;
}
.logo-text span, .footer-brand span { font-weight: 400; margin-left: .05em; color: var(--muted-dark); }

.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted-dark); padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.header-inner > .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: block; }
  .header-inner > .btn { margin-left: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 3.25rem; padding: 0 1.6rem;
  font: inherit; font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-sm { min-height: 2.5rem; padding: 0 1rem; font-size: .8rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 22px;
}
.eyebrow .num {
  display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px;
  background: var(--accent); color: var(--ink); font-weight: 700; letter-spacing: .04em;
}
.section-light .eyebrow, .section-concrete .eyebrow { color: var(--muted-light); }

.h2 {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 7.2vw, 6.2rem);
  line-height: 1.03; letter-spacing: -.035em; word-spacing: .08em;
  overflow-wrap: anywhere; hyphens: manual;
}
.h2 + .lead { margin-top: clamp(1.25rem, 2.2vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 56ch; color: var(--muted-dark); }
.section-light .lead, .section-concrete .lead { color: var(--muted-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 62rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 4.5rem;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,22,24,.15) 0%, rgba(20,22,24,.35) 45%, rgba(20,22,24,.94) 100%),
    linear-gradient(90deg, rgba(20,22,24,.75) 0%, rgba(20,22,24,0) 70%);
}
.hero-inner { padding-bottom: 40px; }
.hero-eyebrow { color: #f1e6dd; }
.tick { width: 28px; height: 3px; background: var(--accent); display: inline-block; }

.hero-title {
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.1rem, 13.5vw, 12.5rem);
  line-height: .86; letter-spacing: -.045em; word-spacing: .1em;
  margin-bottom: 28px; color: #fff;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-lead { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e9e6e1; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 0; padding-bottom: 0;
}
.hero-facts li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; font-weight: 600; font-size: .95rem; color: #eceae6;
  border-bottom: 1px solid var(--line-dark);
}
.hero-facts .mono { color: var(--accent); font-weight: 700; }
@media (min-width: 768px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts li { border-bottom: 0; padding: 22px 0; }
  .hero-facts li + li { border-left: 1px solid var(--line-dark); padding-left: 24px; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; background: var(--accent); color: var(--ink);
  border-block: 4px solid var(--ink);
  background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 14px, transparent 14px 28px);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1; padding: 18px 0;
  display: inline-flex; align-items: center;
}
.ticker span::after {
  content: ""; width: .5em; height: .5em; background: var(--ink); margin: 0 .8em;
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4.5rem, 11vw, 10rem); position: relative; }
.section-dark { background: var(--ink); color: var(--text-dark); }
.section-light { background: var(--paper); color: var(--text-light); }
.section-concrete {
  background-color: var(--concrete); color: var(--text-light);
  /* Schalungsraster wie Sichtbeton: Fugen + Ankerlöcher */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(20,22,24,.14) 0 2.5px, transparent 3px),
    linear-gradient(rgba(20,22,24,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,22,24,.08) 1px, transparent 1px);
  background-size: 125px 62.5px, 250px 125px, 250px 125px;
  background-position: 62px 31px, 0 0, 0 0;
}
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head-row { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1.6fr 1fr; } }
.section-note {
  font-size: .95rem; color: var(--muted-dark); max-width: 38ch;
  border-left: 3px solid var(--accent); padding-left: 16px; margin: 0;
}
.section-note strong { color: #fff; }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 2px; background: var(--line-light); border: 2px solid var(--ink); }
.service {
  background: var(--paper); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; position: relative;
}
.service-no {
  font-weight: 900; font-size: clamp(3.5rem, 7vw, 6rem); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 24px;
}
.service h3 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px;
}
.service p { color: var(--muted-light); }
.checks { margin-top: auto; padding-top: 8px; border-top: 2px solid var(--ink); }
.checks li {
  padding: 10px 0 10px 28px; position: relative; font-weight: 600; font-size: .97rem;
  border-bottom: 1px solid var(--line-light);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 4px; background: var(--accent-ink);
}
.service-img { padding: 0; background: var(--ink); color: var(--text-dark); }
.service-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.service-img .service-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.service-img .service-no { -webkit-text-stroke-color: var(--accent); }
.service-img p { color: var(--muted-dark); }
.service-img .checks { border-top-color: var(--accent); }
.service-img .checks li { border-bottom-color: var(--line-dark); }
.service-img .checks li::before { background: var(--accent); }
@media (min-width: 900px) {
  .services { grid-template-columns: 1fr 1.15fr 1fr; }
}

/* ---------- Projekte ---------- */
.projects { display: grid; gap: clamp(16px, 2vw, 28px); }
.project { margin: 0; }
.project-media { position: relative; overflow: hidden; background: var(--steel); }
.project-media img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
  filter: grayscale(.25);
}
.project:hover .project-media img { transform: scale(1.04); filter: grayscale(0); }
.badge {
  position: absolute; left: 0; top: 0;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 10px;
}
.project figcaption {
  display: grid; gap: 4px; padding: 16px 0 0; border-top: 3px solid var(--accent); margin-top: 0;
}
.project-type { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project-title { font-weight: 800; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; line-height: 1.2; }
.project-meta { color: var(--muted-dark); font-size: .95rem; }

@media (min-width: 768px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project-wide { grid-column: 1 / -1; }
  .project-wide .project-media img { aspect-ratio: 16 / 7; }
}
@media (min-width: 1100px) {
  .projects { grid-template-columns: repeat(12, 1fr); }
  .project-wide { grid-column: 1 / 9; }
  .project-wide .project-media img { aspect-ratio: 16 / 8; }
  .project-tall { grid-column: 9 / -1; }
  .project-tall .project-media { height: 100%; }
  .project-tall { display: flex; flex-direction: column; }
  .project-tall .project-media { flex: 1; min-height: 0; }
  .project-tall .project-media img { aspect-ratio: auto; position: absolute; inset: 0; }
  .projects > .project:nth-child(3) { grid-column: 1 / 6; }
  .projects > .project:nth-child(4) { grid-column: 6 / -1; margin-top: 80px; }
}

.quote {
  margin: clamp(56px, 8vw, 110px) 0 0; max-width: 980px;
  border-left: 6px solid var(--accent); padding-left: clamp(18px, 3vw, 40px);
}
.quote p {
  font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px;
}
.quote footer { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Ablauf (Signatur: Baufortschritts-Linie) ---------- */
.ablauf-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .ablauf-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .ablauf-head { position: sticky; top: 150px; }
}
.steps { position: relative; padding-left: 4rem; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 1.3125rem; top: .5rem; bottom: .5rem; width: .375rem;
}
.steps::before { background: rgba(20,22,24,.18); }
/* Fortschrittsbalken: ohne JS voll sichtbar; JS steuert --progress */
.steps::after {
  background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--accent) 8px 16px);
  transform-origin: top; transform: scaleY(var(--progress, 1));
}
.step {
  position: relative; padding: 0 0 3rem;
}
.step:last-child { padding-bottom: 0; }
.step-no {
  position: absolute; left: -4rem; top: 0;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  background: var(--ink); color: var(--accent);
  font-family: var(--mono); font-weight: 700; font-size: .95rem;
  z-index: 1; transition: background-color .3s, color .3s;
}
.step h3 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -.02em;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); padding-top: 8px; margin-bottom: 10px;
}
.step p { color: var(--muted-light); max-width: 52ch; margin: 0; }
.steps.is-js .step:not(.is-on) .step-no { background: var(--paper); color: var(--muted-light); }
.steps.is-js .step:not(.is-on) h3 { color: #5b6066; }

/* ---------- Karriere ---------- */
.karriere-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .karriere-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.karriere-media { position: relative; }
.karriere-media img { width: 100%; aspect-ratio: 762 / 683; object-fit: cover; }
.stripe {
  position: absolute; left: -12px; bottom: -12px; width: 55%; height: 22px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--ink) 14px 28px);
}
.list-title {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; margin: 36px 0 12px;
}
.tag {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; padding: 4px 8px;
  border: 1px solid var(--accent); color: var(--accent); font-weight: 700;
}
.jobs { border-top: 2px solid #fff; }
.jobs a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; text-decoration: none; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.15rem);
  border-bottom: 1px solid var(--line-dark); transition: background-color .2s, padding .2s;
}
.jobs a::after { content: "→"; color: var(--accent); font-weight: 900; margin-left: 4px; }
.jobs a:hover { background: var(--steel-2); padding-inline: 14px; }
.job-meta { margin-left: auto; font-family: var(--mono); font-size: .78rem; font-weight: 400; color: var(--muted-dark); white-space: nowrap; }
.perks { display: grid; gap: 10px 24px; margin-top: 28px; }
@media (min-width: 560px) { .perks { grid-template-columns: 1fr 1fr; } }
.perks li { padding-left: 22px; position: relative; color: #dcdad6; font-size: .97rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--accent); }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .kontakt-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.address { font-style: normal; font-size: 1.1rem; line-height: 1.7; margin: 28px 0 16px; padding-left: 18px; border-left: 4px solid var(--ink); }
.address a { color: var(--accent-ink); font-weight: 700; text-underline-offset: 3px; }
.hours { color: var(--muted-light); }
.hours .mono { background: var(--ink); color: var(--paper); padding: 3px 7px; margin-right: 8px; }

.form {
  background: #fff; border: 2px solid var(--ink); padding: clamp(20px, 3.5vw, 44px);
  box-shadow: 12px 12px 0 var(--accent);
  display: grid; gap: 20px; align-content: start;
}
@media (max-width: 480px) { .form { box-shadow: 6px 6px 0 var(--accent); } }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .field label {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light);
  padding: 0; margin-bottom: 8px;
}
.chips legend { width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 10px 14px; border: 2px solid var(--ink); font-weight: 700; font-size: .9rem;
  transition: background-color .15s, color .15s;
}
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; }
.opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  font: inherit; color: var(--text-light); background: var(--paper);
  border: 0; border-bottom: 3px solid var(--ink); border-radius: 0;
  padding: 12px 14px; min-height: 50px; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-ink); background: #fff; box-shadow: inset 0 0 0 2px var(--accent-ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted-light); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent a { color: var(--accent-ink); font-weight: 600; }
.form .btn-accent:hover { background: var(--ink); color: #fff; }
.form-status { margin: 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-shown { background: var(--ink); color: #fff; padding: 14px 16px; border-left: 6px solid var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0b0c0d; color: var(--muted-dark); padding-block: 48px; border-top: 6px solid var(--accent); }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { color: #fff; margin: 0; font-size: 1.4rem; }
.footer-note { font-size: .9rem; max-width: 60ch; margin: 0; }
.footer-note a, .footer-links a { color: #e4e2de; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }
.footer-links a:hover, .footer-note a:hover { color: var(--accent); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; } }

/* sehr schmale Geräte */
@media (max-width: 380px) {
  .hero-cta .btn { width: 100%; }
  .logo-text { font-size: 1rem; }
}

/* Überschriften in zweispaltigen Abschnitten: an die Spaltenbreite anpassen */
@media (min-width: 1000px) {
  .ablauf-head .h2, .karriere-body .h2, .kontakt-info .h2 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
}

/* 4K-Bildschirme: ab 1920 px wächst die Grundschrift mit (bei 3840 px ≈ 1,6×).
   Weil Schriften, Abstände und --wrap in rem stehen, skaliert das ganze Layout gleichmäßig. */
@media (min-width: 1921px) { html { font-size: calc(100% + (100vw - 1920px) / 192); } }

/* Bildpipeline 2026-11-11: <picture> erzeugt keine eigene Box — Layout bleibt wie beim nackten <img> */
picture { display: contents; }
picture > source { display: none; } /* sonst wird <source> unter display:contents zum Grid-Element (handel: Bild 0 px hoch) */
