/* WeldX – Entwurf 4 „Linie & Minze“
   Dunkel, dünne Linien, eine Akzentfarbe. Kein JavaScript, keine fremden Server:
   die Schrift liegt in seite/schrift/. */

@font-face {
  font-family: "Montserrat";
  src: url("schrift/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --grund: #0d1110;
  --band: #1a2522;
  --rand: rgba(255, 255, 255, 0.22);
  --text: #f3f2ec;
  --zart: #c3c9c5;
  --minze: #8fe5c2;       /* die eine Akzentfarbe */
  --minze-hell: #b4f0d7;
  --auf-minze: #0d1110;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.breite {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

/* ---------- Kleine Bausteine ---------- */

.zeile, .mini, .start__ort {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.zeile {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1rem;
}
.zeile::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--minze);
  flex: none;
}

h1, h2 {
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.25; }

.nr { color: var(--minze); font-size: 1.35rem; line-height: 1.25; }

.hoch {
  width: 0.7em;
  height: 0.7em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  flex: none;
}

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--minze);
  border-radius: 2px;
  background: var(--minze);
  color: var(--auf-minze);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.knopf:hover, .knopf:focus-visible { background: var(--minze-hell); border-color: var(--minze-hell); }

.pfeil {
  position: relative;
  flex: 1;
  min-width: 2rem;
  height: 1px;
  background: var(--minze);
}
.pfeil::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--minze);
  border-right: 1px solid var(--minze);
  transform: rotate(45deg);
}

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

/* ---------- Kopfleiste ---------- */

.leiste {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 16, 0.9);
  backdrop-filter: blur(8px);
}
.leiste__inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.marke {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
}
.marke b { font-weight: 400; font-size: 1.25rem; letter-spacing: 0.14em; }
.marke small { font-size: 0.62rem; letter-spacing: 0.62em; margin-top: 0.3rem; color: var(--zart); }

.menue {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.2rem);
  font-size: 0.88rem;
}
.menue a { text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.menue a:hover { color: var(--minze); }
.menue__knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--minze);
  border-radius: 999px;
}

/* ---------- Start ---------- */

.start {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}
.start__inhalt {
  position: relative;
  padding-bottom: clamp(1.8rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rand);
}
.start__we {
  position: absolute;
  top: -0.2em;
  right: -0.04em;
  font-size: clamp(9rem, 26vw, 21rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.045);
  user-select: none;
  pointer-events: none;
}
.start__linien {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(62%, 52rem);
  height: 100%;
  fill: none;
  stroke-width: 1;
  pointer-events: none;
}
.start__linien path { vector-effect: non-scaling-stroke; }
.start__linien .grau { stroke: rgba(255, 255, 255, 0.2); }
.start__linien .gruen { stroke: var(--minze); opacity: 0.75; }

.start h1 { margin-bottom: 1.6rem; }
.start h1 span { color: var(--minze); }
.start__text {
  max-width: 27rem;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  margin-bottom: 2rem;
}
.start__ort { margin-top: 2.4rem; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding-top: clamp(2.5rem, 5vw, 3.6rem); }
.abschnitt > .breite {
  padding-bottom: clamp(2.5rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--rand);
}
.abschnitt--ohne-linie > .breite { border-bottom: 0; }

.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

/* Leistungen */

.leistungen li {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rand);
}
.leistungen li:first-child { padding-top: 0.2rem; }
.leistungen li:last-child { border-bottom: 0; padding-bottom: 0; }
.leistungen p { margin-top: 0.35rem; font-size: 0.9rem; color: var(--zart); max-width: 30rem; }

/* Arbeitsweise */

.schritte {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 2.2rem;
}
.schritte .nr { display: block; font-size: 1.2rem; }
.schritt__kopf { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 0.9rem; }
.schritte p { font-size: 0.9rem; color: var(--zart); max-width: 15rem; }

/* Projekte */

.projekte { margin-top: 1.6rem; }
.projekte li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rand);
}
.projekte li:last-child { border-bottom: 0; padding-bottom: 0; }
.zeichnung {
  width: min(100%, 19rem);
  justify-self: center;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0.9;
}
.projekt__text { padding-left: clamp(1.5rem, 4vw, 3rem); border-left: 1px solid var(--rand); }
.mini { font-size: 0.64rem; margin-bottom: 0.5rem; color: var(--zart); }
.projekt__text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.projekt__text p:last-child { font-size: 0.92rem; color: var(--zart); max-width: 32rem; }

.projekt__bild {
  width: calc(100% - clamp(1.5rem, 4vw, 3rem));
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
}
.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}
.galerie img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Über mich */
.ueber__foto {
  width: min(100%, 20rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  justify-self: end;
  display: block;
}

.ueber {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}
.ueber__text { max-width: 31rem; margin: 1.4rem 0 1.6rem; }
.titelliste div { display: flex; align-items: center; gap: 1.2rem; padding: 0.3rem 0; }
.titelliste dt { width: 7.2rem; flex: none; color: var(--minze); font-size: 1.05rem; }
.titelliste dd { display: flex; align-items: center; gap: 1.2rem; font-size: 0.9rem; }
.titelliste dd::before { content: ""; width: 1.8rem; height: 1px; background: var(--zart); }
.monogramm {
  width: min(100%, 20rem);
  justify-self: end;
  fill: none;
  stroke: var(--minze);
  stroke-width: 2.5;
}
.monogramm .grau { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }

.ueber__lang {
  grid-column: 1 / -1;
  columns: 2;
  column-gap: clamp(2rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rand);
  font-size: 0.95rem;
  color: var(--zart);
}
.ueber__lang p { margin-bottom: 1rem; break-inside: avoid; }

/* Band */

.band {
  display: block;
  background: var(--band);
  text-decoration: none;
  margin-top: -1px;
}
.band__inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.6rem, 3vw, 2.2rem);
}
.band__text { font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.12; }
.pfeil--lang { flex: 0 1 14rem; height: 2px; }
.pfeil--lang::after { top: -6px; width: 13px; height: 13px; border-width: 2px; }

/* Kontakt */

.formular { display: grid; gap: 1.4rem; }
.formular label { display: grid; gap: 0.2rem; font-size: 0.85rem; }
.formular input, .formular textarea {
  width: 100%;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.formular textarea { resize: vertical; min-height: 5rem; }
.formular input:focus, .formular textarea:focus { outline: 0; border-bottom-color: var(--minze); }
.formular .knopf { justify-self: start; margin-top: 0.4rem; }
.direkt { margin-top: 1.6rem; display: grid; gap: 0.2rem; }
.direkt span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--minze); }
.direkt a { font-size: 1.2rem; text-decoration: none; }
.direkt a:hover, .angaben a:hover { color: var(--minze); }
.angaben a { text-decoration: none; }
.hinweis { font-size: 0.78rem; color: var(--zart); }

/* ---------- Fußzeile ---------- */

.fuss__inhalt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-block: 1.8rem 2.4rem;
  border-top: 1px solid var(--rand);
  font-size: 0.82rem;
}
.fuss a { text-decoration: none; }
.fuss p a:hover { color: var(--minze); }
.fuss p span { margin-inline: 0.9rem; color: var(--zart); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.unterseite { min-height: 60vh; }
.unterseite h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.platzhalter {
  max-width: 40rem;
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--rand);
  color: var(--zart);
}

/* ---------- Schmälere Bildschirme ---------- */

@media (max-width: 60rem) {
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .schritte .pfeil { display: none; }
  .schritte p { max-width: none; }
}

@media (max-width: 48rem) {
  .leiste__inhalt { flex-wrap: wrap; gap: 0.7rem; padding-block: 0.8rem; }
  .menue { width: 100%; justify-content: space-between; gap: 0.5rem; font-size: 0.7rem; }
  .menue__knopf { padding: 0.25rem 0.6rem; gap: 0.3rem; }
  .marke b { font-size: 1.05rem; }
  html { scroll-padding-top: 6.5rem; }

  .zweispaltig, .ueber { grid-template-columns: 1fr; }
  .start__linien { width: 100%; opacity: 0.45; }
  .leistungen li { grid-template-columns: 2.6rem 1fr; }

  .projekte li { grid-template-columns: 1fr; gap: 1.2rem; }
  .projekt__bild { width: 100%; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .ueber__lang { columns: 1; }
  .ueber__foto { justify-self: start; width: min(100%, 16rem); }
  .projekt__text { padding-left: 0; border-left: 0; }

  .monogramm { width: 11rem; justify-self: start; }
  .pfeil--lang { flex-basis: 4rem; }
}

@media (max-width: 30rem) {
  .schritte { grid-template-columns: 1fr; }
  .band__text { font-size: 1.45rem; }
}

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

/* Impressum-Angaben */
.angaben { display: grid; gap: 1.1rem; max-width: 40rem; margin-bottom: 2rem; }
.angaben dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--minze); margin-bottom: 0.2rem; }

/* Rechtstexte (Datenschutz) */
.rechtstext { max-width: 44rem; }
.rechtstext h2 { font-size: 1.05rem; letter-spacing: 0.04em; color: var(--minze); margin: 2.2rem 0 0.7rem; }
.rechtstext p { color: var(--zart); line-height: 1.7; margin-bottom: 0.9rem; }
.rechtstext a { color: var(--text); }
.rechtstext a:hover { color: var(--minze); }

/* Kontakt ohne Formular */
.kontaktdaten { align-self: end; }
.kontaktdaten .direkt:first-child { margin-top: 0; }
.kontaktdaten .direkt a { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.kontaktdaten .knopf { margin-top: 2.2rem; }
.fuss__recht { white-space: nowrap; }
.fuss p .fuss__recht { margin: 0; color: inherit; }
@media (max-width: 48rem) {
  .fuss p > span[aria-hidden] { display: none; }
  .fuss p .fuss__recht { display: block; margin-top: 0.4rem; }
  .fuss__recht a:first-child { margin-left: 0; }
}
