/* =========================================================
   passteil – Stylesheet
   Farben und Abstände zentral hier ändern (:root)
   ========================================================= */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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 {
  --russ: #0d0c0b;       /* Hintergrund */
  --graphit: #181614;    /* Flächen */
  --linie: rgba(236, 231, 223, 0.12);
  --kreide: #ece7df;     /* Text */
  --asche: #9a948b;      /* Nebentext */
  --glut: #ff6a1f;       /* Akzent */
  --glut-tief: #b8380c;
  --petrol: #123a42;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--russ);
  color: var(--kreide);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--glut); color: var(--russ); }
:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; border-radius: 4px; }

/* Körnung über der ganzen Seite */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(46px, 6.6vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.25; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--asche); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--asche); max-width: 34em; }
.kicker { color: var(--asche); font-size: 15px; margin-bottom: 20px; }
.kicker b { color: var(--glut); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--kreide); color: var(--russ);
  font: inherit; font-size: 16px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-ghost {
  background: transparent; color: var(--kreide);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.btn-ghost:hover { background: rgba(236,231,223,.06); }
.textlink { color: var(--kreide); text-decoration: none; border-bottom: 1px solid var(--linie); padding-bottom: 2px; transition: border-color .3s; }
.textlink:hover { border-color: var(--glut); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(13,12,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linie); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-size: 24px; font-weight: 500; letter-spacing: -0.04em; text-decoration: none; }
.logo span { color: var(--glut); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--asche); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--kreide); }
.nav .btn, .nav .btn[aria-current] { padding: 10px 18px; font-size: 15px; color: var(--russ); }
.menu-toggle { display: none; background: none; border: 0; color: var(--kreide); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(13,12,11,.97); backdrop-filter: blur(14px);
    padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--linie);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 22px; padding: 12px 0; width: 100%; color: var(--kreide); }
  .nav .btn, .nav .btn[aria-current] { margin-top: 14px; color: var(--russ); font-size: 16px; padding: 14px 22px; width: auto; }
}

/* ---------- Glühen ---------- */
.glow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.glow-a {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  right: -14vw; bottom: -22vw;
  background: radial-gradient(circle at 40% 40%, var(--glut) 0%, var(--glut-tief) 38%, transparent 70%);
  opacity: .85;
  animation: drift-a 22s ease-in-out infinite alternate;
}
.glow-b {
  width: 34vw; height: 34vw; max-width: 520px; max-height: 520px;
  right: 18vw; bottom: 4vw;
  background: radial-gradient(circle, #ffb27a 0%, var(--glut) 35%, transparent 70%);
  opacity: .55;
  animation: drift-b 17s ease-in-out infinite alternate;
}
.glow-c {
  width: 50vw; height: 50vw; max-width: 760px; max-height: 760px;
  left: -18vw; top: -20vw;
  background: radial-gradient(circle, var(--petrol) 0%, transparent 68%);
  opacity: .9;
  animation: drift-c 26s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-6vw, -4vw) scale(1.08); } }
@keyframes drift-b { to { transform: translate(5vw, -6vw) scale(.9); } }
@keyframes drift-c { to { transform: translate(8vw, 6vw) scale(1.1); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 40px; isolation: isolate; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(240px, 300px); gap: 48px; align-items: end; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .soft { color: rgba(236,231,223,.42); }
.hero-side { display: grid; gap: 22px; padding-bottom: 14px; }
.hero-side p { color: rgba(236,231,223,.72); }
.hero-side p strong { color: var(--kreide); font-weight: 400; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--linie);
  font-size: 14px; color: var(--asche);
}
.hero-foot a { text-decoration: none; color: var(--asche); transition: color .25s; }
.hero-foot a:hover { color: var(--kreide); }

/* Ladeanimation – einmalig */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero-side, .js .hero-foot { opacity: 0; transform: translateY(16px); }
.js .glow-field { opacity: 0; }
.loaded .hero h1 .line > span { transform: none; transition: transform 1.1s var(--ease); }
.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .2s; }
.loaded .hero-side, .loaded .hero-foot { opacity: 1; transform: none; transition: opacity .9s .55s, transform .9s .55s var(--ease); }
.loaded .glow-field { opacity: 1; transition: opacity 2.2s ease; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-foot span { display: none; }
  .glow-a { width: 120vw; height: 120vw; right: -50vw; bottom: -40vw; }
  .glow-b { width: 70vw; height: 70vw; right: -10vw; bottom: 10vw; }
}

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 168px) 0; }
.section + .section { border-top: 1px solid var(--linie); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split > :first-child { position: sticky; top: 120px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > :first-child { position: static; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; }

/* Leistungen als Liste */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.services li { border-bottom: 1px solid var(--linie); }
.services a {
  display: grid; grid-template-columns: 1fr 24px; gap: 8px 24px;
  padding: 34px 0; text-decoration: none;
}
.services h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.03em; transition: color .3s; }
.services p { grid-column: 1; color: var(--asche); max-width: 36em; }
.services svg { grid-column: 2; grid-row: 1; width: 22px; height: 22px; color: var(--asche); align-self: center; transition: transform .35s var(--ease), color .3s; }
.services a:hover h3 { color: var(--glut); }
.services a:hover svg { transform: translate(3px, -3px); color: var(--glut); }

/* Ablauf */
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px 0 0; border-top: 1px solid var(--linie); counter-increment: s; }
.steps li::before {
  content: "0" counter(s);
  display: block; font-size: clamp(56px, 6vw, 88px); font-weight: 200; letter-spacing: -0.05em; line-height: 1;
  color: rgba(236,231,223,.22); margin-bottom: 28px;
}
.steps li::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--glut); box-shadow: 0 0 14px 3px rgba(255,106,31,.55);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--asche); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Vorher / Nachher */
.compare {
  position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden;
  background: var(--graphit); border: 1px solid var(--linie);
  user-select: none; touch-action: pan-y;
}
.compare img, .compare .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 1px; background: var(--kreide);
  transform: translateX(-.5px); pointer-events: none;
}
.compare .handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--kreide); color: var(--russ);
  display: grid; place-items: center; box-shadow: 0 6px 30px rgba(0,0,0,.4);
}
.compare .handle svg { width: 20px; height: 20px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag {
  position: absolute; bottom: 18px; font-size: 13px; padding: 6px 12px; border-radius: 999px;
  background: rgba(13,12,11,.7); backdrop-filter: blur(8px); color: var(--kreide); pointer-events: none;
}
.compare .tag.l { left: 18px; } .compare .tag.r { right: 18px; }
@media (max-width: 640px) { .compare { aspect-ratio: 4 / 3.4; } }
.note { margin-top: 16px; font-size: 14px; color: var(--asche); }

/* Platzhalter-Grafik */
.ph { background: radial-gradient(circle at 50% 55%, #24201c 0%, var(--graphit) 70%); }
.ph svg { width: 100%; height: 100%; }

/* Preise */
.prices { width: 100%; border-collapse: collapse; font-size: 18px; }
.prices th, .prices td { padding: 24px 0; border-bottom: 1px solid var(--linie); text-align: left; font-weight: 400; }
.prices tr:first-child th, .prices tr:first-child td { border-top: 1px solid var(--linie); }
.prices td { text-align: right; white-space: nowrap; font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prices small { display: block; color: var(--asche); font-size: 15px; margin-top: 2px; }
.tax { margin-top: 20px; font-size: 14px; color: var(--asche); }

/* Ausschlüsse */
.limits { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.limits ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.limits li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie); color: var(--kreide); }
.limits li:first-child { border-top: 1px solid var(--linie); }
.limits li::before { content: ""; flex: none; width: 14px; height: 1.5px; background: var(--glut); }
@media (max-width: 900px) { .limits { grid-template-columns: 1fr; } }

/* Abschluss */
.closing { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.closing .glow-a { right: auto; left: 30%; bottom: -60%; animation-duration: 30s; }
.closing .wrap { position: relative; z-index: 1; }
.closing h2 { font-size: clamp(44px, 7vw, 108px); max-width: 11em; }
.closing .actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; padding: 180px 0 80px; isolation: isolate; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .glow-a { width: 48vw; height: 48vw; right: -16vw; bottom: auto; top: -20vw; opacity: .6; }
.page-hero h1 { font-size: clamp(44px, 7vw, 104px); max-width: 12em; }
.page-hero .lead { margin-top: 28px; }

/* Referenzen */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.project .media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); position: relative; }
.project .media img { width: 100%; height: 100%; object-fit: cover; }
.project .meta { display: flex; gap: 10px; margin: 18px 0 10px; font-size: 13px; }
.project .meta span { padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linie); color: var(--asche); }
.project h3 { margin-bottom: 8px; }
.project p { color: var(--asche); font-size: 16px; }
.ph-label { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--asche); }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }

/* Über mich */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .text { display: grid; gap: 20px; font-size: 18px; }
.about .text p { color: var(--asche); max-width: 34em; }
.about .text > p:first-of-type { color: var(--kreide); font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; line-height: 1.35; letter-spacing: -0.02em; }
.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 96px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facts li { border-top: 1px solid var(--linie); padding-top: 24px; }
.facts h3 { margin-bottom: 8px; }
.facts p { color: var(--asche); font-size: 16px; }
@media (max-width: 900px) { .about, .facts { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
form { display: grid; gap: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 8px; font-size: 15px; color: var(--asche); }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--kreide);
  background: rgba(236,231,223,.03); border: 1px solid var(--linie); border-radius: 10px;
  padding: 14px 16px; transition: border-color .25s, background .25s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--glut); background: rgba(236,231,223,.05); }
.drop {
  position: relative; border: 1px dashed rgba(236,231,223,.25); border-radius: 12px;
  padding: 28px; text-align: center; color: var(--asche); transition: border-color .25s, background .25s;
}
.drop.over, .drop:focus-within { border-color: var(--glut); background: rgba(255,106,31,.05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { color: var(--kreide); font-weight: 500; }
.files { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; color: var(--kreide); display: grid; gap: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--glut); flex: none; }
.check a { color: var(--kreide); }
.hp { position: absolute; left: -9999px; }
.aside { display: grid; gap: 32px; }
.aside h3 { margin-bottom: 8px; }
.aside p { color: var(--asche); font-size: 16px; }
.aside a { color: var(--kreide); }
.alert { padding: 18px 20px; border-radius: 12px; font-size: 16px; margin-bottom: 8px; }
.alert.ok { background: rgba(255,106,31,.1); box-shadow: inset 0 0 0 1px rgba(255,106,31,.4); }
.alert.err { background: rgba(255,60,60,.08); box-shadow: inset 0 0 0 1px rgba(255,90,90,.4); }
[hidden] { display: none !important; }

/* Rechtstexte */
.legal > * { max-width: 46em; }
.legal h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--asche); }
.legal p + p { margin-top: 12px; }
.legal mark { background: rgba(255,106,31,.2); color: var(--kreide); padding: 0 4px; border-radius: 3px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--linie); padding: 56px 0 40px; font-size: 15px; color: var(--asche); }
.footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: end; }
.footer .logo { color: var(--kreide); display: inline-flex; margin-bottom: 10px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--asche); text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--kreide); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .hero h1 .line > span, .js .hero-side, .js .hero-foot, .js .glow-field { transform: none; opacity: 1; }
}

/* =========================================================
   Werkstatt-Elemente: Scan, Schichtlinien, Maßlinien
   ========================================================= */

/* Hero: Scan-Szene rechts oben */
.scan {
  position: absolute; z-index: 0;
  top: 84px; right: max(2vw, calc((100vw - var(--wrap)) / 2));
  width: min(40vw, 560px);
  /* Höhe richtet sich nach dem Platz über dem Text rechts unten */
  height: clamp(180px, calc(100svh - 560px), 470px);
  pointer-events: none;
}
.scan-canvas { width: 100%; height: 100%; display: block; }
.scan-readout {
  position: absolute; left: 4%; top: 6%;
  font-size: 13px; color: rgba(236,231,223,.6);
  font-variant-numeric: tabular-nums;
  padding-left: 18px; position: absolute;
}
.scan-readout::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--glut); box-shadow: 0 0 10px 2px rgba(255,106,31,.6);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.js .scan { opacity: 0; }
.loaded .scan { opacity: 1; transition: opacity 1.6s .4s ease; }
@media (max-width: 860px) {
  .scan { top: 72px; right: 4vw; width: 92vw; }
  .hero { padding-top: calc(80px + 74vw); }
  .loaded .scan { opacity: .75; }
  .scan-readout { left: 10%; top: 4%; }
}

/* Schichtlinien wie bei einem gedruckten Teil – liegen über dem Glühen */
.closing::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(13,12,11,0) 0 3px, rgba(13,12,11,.55) 3px 4px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 80%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 70% 80%, #000 0%, transparent 75%);
}
.page-hero::before {
  -webkit-mask-image: radial-gradient(ellipse 50% 80% at 90% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 50% 80% at 90% 0%, #000 0%, transparent 75%);
}

/* Ablauf: Werkzeug-Symbole */
.steps li > svg { width: 34px; height: 34px; color: var(--glut); margin: -6px 0 18px; }

/* Maßlinie unter Abschnittsüberschriften der Startseite */
.split > :first-child h2::after, .limits > :first-child h2::after {
  content: ""; display: block; width: 120px; height: 9px; margin-top: 28px;
  background:
    linear-gradient(var(--glut), var(--glut)) left center / 100% 1px no-repeat,
    linear-gradient(var(--glut), var(--glut)) left center / 1px 9px no-repeat,
    linear-gradient(var(--glut), var(--glut)) right center / 1px 9px no-repeat;
  opacity: .7;
}

/* Kosten-Text statt Preistabelle */
.cost { display: grid; gap: 18px; font-size: 19px; }
.cost p { color: var(--asche); max-width: 32em; }
.cost p:first-child { color: var(--kreide); font-size: clamp(22px, 2.2vw, 27px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.35; }
.cost strong { color: var(--kreide); font-weight: 500; }
.cost .tax { font-size: 14px; }

/* Beispiele ohne Bilder: Liste statt Kartenraster */
.projects { grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.project { border-top: 1px solid var(--linie); padding: 28px 0 36px; }
.project .meta { margin: 0 0 14px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }

/* Über mich ohne Foto */
.about { grid-template-columns: 1fr; }
.about .text { max-width: 760px; }

/* Werkstoff-Tabelle */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.materials { width: 100%; border-collapse: collapse; min-width: 640px; }
.materials th, .materials td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.materials thead th { font-size: 14px; color: var(--asche); padding-top: 0; padding-bottom: 14px; }
.materials tbody th { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; width: 22%; line-height: 1.2; }
.materials td:nth-child(2) { color: var(--glut); white-space: nowrap; width: 22%; padding-top: 26px; }
.materials td:nth-child(3) { color: var(--asche); padding-top: 26px; }
.materials tbody tr { transition: background .3s; }
@media (max-width: 700px) {
  .materials { min-width: 0; }
  .materials thead { display: none; }
  .materials tr { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; border-bottom: 1px solid var(--linie); padding: 18px 0; }
  .materials th, .materials td { border: 0; padding: 0; width: auto; }
  .materials tbody th { font-size: 24px; }
  .materials td:nth-child(2) { align-self: center; padding-top: 4px; }
  .materials td:nth-child(3) { grid-column: 1 / -1; padding-top: 8px; }
}


/* Logo-Punkt: Stift in Bohrung */
.logo { display: inline-flex; align-items: baseline; }
.logo-dot { display: inline-block; width: .4em; height: .4em; margin-left: .07em; flex: none; position: relative; top: .02em; }
