/* ============================================================
   KO-WEB — style.css
   Editorial, monochrom, Gold nur in Momenten.
   ============================================================ */

/* ============================================================
   Fonts — lokal gehostet, kein Google-Request (DSGVO)
   Subsets: latin + latin-ext
   ============================================================ */

/* Bricolage Grotesque — Variable (opsz 12..96, wght 500..700) */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-var-latin.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-var-latin-ext.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;
}

/* IBM Plex Mono 400 / 500 */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin-ext.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin-ext.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;
}

/* Instrument Serif — normal + kursiv */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-latin.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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-latin-ext.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400italic-latin.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400italic-latin-ext.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 {
  --ink: #0e0d0b;
  --ink-2: #14120e;
  --cream: #e9e6df;
  --cream-dim: #93908a;
  --paper: #f2f0ea;
  --paper-ink: #171511;
  --paper-dim: #77736a;
  --gold: #b99762;
  --gold-deep: #8c714a;
  --line-dark: rgba(233, 230, 223, 0.14);
  --line-paper: rgba(23, 21, 17, 0.13);
  --font-disp: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

/* Soft-Lock: bewusst KEIN CSS-Scroll-Snap — Safari verfolgt damit beim
   Seitenaufbau falsche Snap-Punkte (Sprünge ans Seitenende, Flimmern).
   Das sanfte Einrasten übernimmt main.js nach echtem User-Scrollen. */

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-disp);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Goldener Faden, der sich beim Scrollen durch die Seite zeichnet */
#thread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

#thread svg {
  display: block;
  width: 100%;
  height: 100%;
}

#thread path {
  fill: none;
  stroke: #9d8155;
  stroke-width: 1.25;
  opacity: 0.75;
}

#thread circle {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(185, 151, 98, 0.7));
  transition: opacity 0.35s ease;
}

/* Pfeilspitze am Fadenende (zeigt auf den Kontaktformular-Knopf) */
#thread .thread-arrow {
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.35s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.wrap {
  width: min(1360px, calc(100vw - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

/* Mono-Label, z. B. "(01)  Kurz gesagt" */
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.rule {
  height: 1px;
  background: var(--line-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}

.rule.in {
  transform: scaleX(1);
}

/* Gold-Akzent auf den Abschnittsnummern */
.paper .tag > span:first-child {
  color: var(--gold-deep);
}

.hero-foot .tag span:first-child {
  color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  /* Schwarz muss auch bei eingeklappter Mobile-Toolbar bis unten reichen:
     100vh ist auf iOS der große Viewport (Fallback), lvh wo unterstützt */
  min-height: 100vh;
  min-height: 100lvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.topbar {
  /* 1fr | auto | 1fr — so sitzt die Navigation exakt mittig */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  animation: appear 0.9s var(--ease) 0.9s both;
}

.topbar .brand {
  grid-column: 1;
  justify-self: start;
}

.topbar .topnav {
  grid-column: 2;
  justify-self: center;
}

.topbar .topbar-right {
  grid-column: 3;
  justify-self: end;
}

/* Wortmarke: KO-WEB mit goldenem Punkt */
.brand {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand i {
  font-style: normal;
  color: var(--gold);
}

.topnav {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  color: var(--cream-dim);
}

.topnav a {
  transition: color 0.3s ease;
}

.topnav a:hover {
  color: var(--gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream-dim);
}

.top-actions {
  display: flex;
  gap: 8px;
}

.top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.top-actions svg {
  width: 15px;
  height: 15px;
}

.top-actions a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 60px 0;
}


h1 {
  font-weight: 700;
  font-size: clamp(48px, 10.5vw, 140px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

h1 .l {
  display: block;
  overflow: hidden;
}

h1 .l > span {
  display: block;
  transform: translateY(108%);
  animation: riseUp 1.15s var(--ease) forwards;
  will-change: transform;
}

h1 .l:nth-child(2) > span { animation-delay: 0.1s; }
h1 .l:nth-child(3) > span { animation-delay: 0.2s; }

@keyframes riseUp {
  to { transform: translateY(0); }
}

h1 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82em;
  color: var(--gold);
}

.hero-sub {
  margin-top: 34px;
  margin-inline: auto;
  max-width: 330px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream-dim);
  animation: appear 1s ease 1.05s both;
}

/* Kontakt-Knopf im Hero: feiner Rahmen, Mono, Gold beim Hover */
.hero-cta {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 42px);
  padding: 13px 26px;
  border: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  transition: border-color 0.3s ease, color 0.3s ease;
  animation: appear 1s ease 1.25s both;
}

.hero-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Status im Hero — nur auf Mobile sichtbar (Topbar wird dort zu eng) */
.hero-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  animation: appear 1s ease 1.35s both;
}

.hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-foot {
  padding-bottom: 26px;
}

.hero-foot .tag {
  padding-top: 14px;
}

.hero-foot a {
  color: var(--cream);
  transition: color 0.3s ease;
}

.hero-foot a:hover {
  color: var(--gold);
}

/* ---------- Papier-Sektionen ---------- */

.paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.paper .tag {
  color: var(--paper-dim);
}

.paper .rule {
  background: var(--line-paper);
}

/* ---------- Bild-Figuren (Varianten des einen Fotos) ---------- */

.tile {
  position: absolute;
  margin: 0;
  /* rechte Kante bündig mit dem Inhaltsraster */
  right: max(calc((100vw - 1360px) / 2), clamp(16px, 3vw, 48px));
}

.tile-img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.tile img {
  width: 115%;
  height: 130%;
  margin: -15% 0 0 -7.5%;
  object-fit: cover;
  will-change: transform;
}

.tile figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
}

.tile figcaption b {
  font-weight: 400;
  color: var(--gold-deep);
}

/* ---------- Statement ---------- */

.statement {
  /* kompakt — kein Ganzseiten-Abschnitt, der Text ist kurz;
     oben aber genug Luft nach dem harten Schwarz-Schnitt */
  padding: clamp(90px, 11vw, 150px) 0 clamp(50px, 6vw, 90px);
  position: relative;
}

.statement-tile {
  top: clamp(60px, 8vw, 110px);
  width: clamp(120px, 12vw, 180px);
}

.statement-tile img {
  /* warme, goldene Version */
  filter: sepia(0.45) saturate(1.2) brightness(1.3) contrast(0.95) hue-rotate(-10deg);
}

/* Varianten des einen Fotos entstehen per Transform am Container
   (nicht am img — dessen transform nutzt die Drift-Animation) */
.statement-tile .tile-img {
  transform: scaleX(-1);
}

.statement .tag {
  margin-bottom: clamp(32px, 5vw, 60px);
}

.statement-text {
  font-size: clamp(23px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

/* Wörter leuchten beim Scrollen auf (JS setzt .lit) */
.statement-text .w {
  opacity: 0.14;
  transition: opacity 0.5s ease;
}

.statement-text .w.lit {
  opacity: 1;
}

.statement-text em {
  color: var(--gold-deep);
}

/* ---------- Bild-Fenster ---------- */

.img-break {
  background: var(--paper);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.img-window {
  /* kleines editoriales Foto an der rechten Rasterkante, wie die Fig.-Kacheln */
  width: min(560px, calc(100vw - clamp(32px, 6vw, 96px)));
  margin-left: auto;
  margin-right: max(calc((100vw - 1360px) / 2), clamp(16px, 3vw, 48px));
  clip-path: inset(14% 10% 14% 10%);
  will-change: clip-path;
  position: relative;
  overflow: hidden;
}

.img-window img {
  width: 100%;
  height: clamp(200px, 32vh, 340px);
  object-fit: cover;
  transform: scale(1.18);
  will-change: transform;
}

.img-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  text-align: right;
  padding-top: 14px;
}

/* Caption bündig zur rechten Kante des Fotos */
.img-break .img-caption {
  width: min(560px, calc(100vw - clamp(32px, 6vw, 96px)));
  margin-left: auto;
  margin-right: max(calc((100vw - 1360px) / 2), clamp(16px, 3vw, 48px));
}

/* ---------- Leistungen ---------- */

.services {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 100px) 0;
}

.services .tag {
  margin-bottom: 14px;
}

/* Sektions-Überschrift im Stil der Wortmarke (goldener Punkt) */
.sec-h {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.sec-h i {
  font-style: normal;
  color: var(--gold-deep);
}

.row {
  display: grid;
  grid-template-columns: 72px 1fr minmax(200px, 340px);
  align-items: baseline;
  gap: 20px;
  padding: clamp(14px, 1.8vw, 22px) 0;
  border-top: 1px solid var(--line-paper);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  position: relative;
}

.rows > .rule {
  transition-delay: 0.4s;
}

.row.in {
  opacity: 1;
  transform: none;
}

.row-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-deep);
}

.row-title {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease), color 0.3s ease;
}

.row-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper-dim);
}

.row-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(14px, -50%);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

@media (hover: hover) {
  .row:hover .row-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-deep);
    transform: translateX(clamp(6px, 1.2vw, 16px));
  }

  .row:hover .row-arrow {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Kennzahlen-Fußnote unter den Leistungen */
.rows-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
}

/* ---------- Ablauf (Treppe, dem Faden folgend) ---------- */

.process {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* unten deutlich Luft zum Kontakt */
  padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 14vw, 180px);
}

.process .tag {
  margin-bottom: 14px;
}

.steps {
  display: flex;
  flex-direction: column;
  /* Treppe als Block mittig im Raster */
  width: min(720px, 100%);
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: clamp(52px, 5vw, 72px) 1fr;
  column-gap: 18px;
  align-items: baseline;
  width: min(440px, 100%);
  border-top: 1px solid var(--line-paper);
  padding: 14px 0 26px;
}

.step:nth-child(2) { margin-left: 8%; }
.step:nth-child(3) { margin-left: 16%; }
.step:nth-child(4) { margin-left: 24%; }

.step-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  color: var(--gold-deep);
}

.step-title {
  grid-column: 2;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.step-desc {
  grid-column: 2;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--paper-dim);
}

/* ---------- Breites Bildband ---------- */

.img-band {
  height: clamp(180px, 30vh, 320px);
  overflow: hidden;
  position: relative;
}

.img-band {
  /* gespiegelte Variante (ersetzt die frühere gedrehte Datei) */
  transform: scaleX(-1);
}

.img-band img {
  width: 100%;
  height: 140%;
  margin-top: -20%;
  object-fit: cover;
  will-change: transform;
  /* warme, gedeckte Version */
  filter: sepia(0.35) saturate(1.05) brightness(1.15) contrast(1.02);
}

/* ---------- Kontakt (hell) ---------- */

.contact {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

.contact .tag {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.contact h2 {
  font-size: clamp(44px, 8.5vw, 110px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.contact h2 em {
  color: var(--gold-deep);
  text-transform: none;
  letter-spacing: 0;
}

.contact-tile {
  top: clamp(70px, 10vw, 150px);
  width: clamp(150px, 16vw, 240px);
}

.contact-tile img {
  /* entsättigte Stein-Version */
  filter: grayscale(0.55) brightness(1.2) sepia(0.18);
}

.contact-tile .tile-img {
  transform: rotate(180deg);
}

.contact-sub {
  margin-top: clamp(26px, 4vw, 40px);
  max-width: 46ch;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-dim);
}

.mail {
  display: inline-block;
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(17px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  word-break: break-all;
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 6px;
  transition: color 0.35s ease, background-size 0.55s var(--ease);
  position: relative;
  z-index: 1;
}

.mail:hover {
  color: var(--gold-deep);
  background-size: 100% 3px;
}

/* Link zur Formular-Unterseite — Rahmen-Knopf auf Papier */
.page-cta {
  display: block;
  width: fit-content;
  margin-top: 26px;
  padding: 12px 22px;
  border: 1px solid var(--line-paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-ink);
  transition: border-color 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.page-cta:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.contact-meta {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-dim);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.contact-meta a {
  transition: color 0.3s ease;
}

.contact-meta a:hover {
  color: var(--gold-deep);
}

/* ---------- Fußleiste (schmal, dunkel) ---------- */

.site-foot {
  background: var(--ink);
  color: var(--cream);
  padding: 20px 0;
}

.site-foot .tag {
  align-items: center;
}

.site-foot a {
  transition: color 0.3s ease;
}

.site-foot a:hover {
  color: var(--cream);
}

.foot-right {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* ---------- Reveals (allgemein) ---------- */

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.fade.in {
  opacity: 1;
  transform: none;
}

/* ---------- Unterseiten ---------- */

.page {
  background: var(--paper);
  color: var(--paper-ink);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page .wrap {
  width: min(760px, calc(100vw - clamp(32px, 6vw, 96px)));
  margin-inline: 0;
  margin-left: clamp(16px, 8vw, 140px);
}

.page-top {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 28px 0 70px;
}

.page-top a {
  color: var(--paper-dim);
  transition: color 0.3s ease;
}

.page-top a:hover {
  color: var(--paper-ink);
}

.page h1 {
  font-size: clamp(40px, 7vw, 72px);
  text-transform: none;
  letter-spacing: -0.03em;
  margin-bottom: 44px;
}

.page h2 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin: 40px 0 10px;
}

.page p {
  color: var(--paper-dim);
  max-width: 60ch;
}

.page .todo {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--paper-ink);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin-bottom: 30px;
}

/* Kontaktformular (kontakt.html) */
.form {
  margin-top: 10px;
  max-width: 560px;
  display: grid;
  gap: 28px;
}

.form label {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.form input,
.form textarea {
  font-family: var(--font-disp);
  font-size: 16px;
  color: var(--paper-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-paper);
  border-radius: 0;
  padding: 8px 0;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.form ::placeholder {
  color: var(--paper-dim);
  opacity: 0.6;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--gold-deep);
}

.form-send {
  justify-self: start;
  padding: 13px 26px;
  background: transparent;
  border: 1px solid var(--line-paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-ink);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.form-send:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.form-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
}

.form-note a {
  transition: color 0.3s ease;
}

.form-note a:hover {
  color: var(--gold-deep);
}

/* Kontakt-Seite: alles zentriert, Felder als deutlich sichtbare Boxen */
.page-center .wrap {
  margin-inline: auto;
  text-align: center;
}

.page-center p {
  margin-inline: auto;
}

.page-center .form {
  width: 100%;
  max-width: 600px;
  margin: 34px auto 0;
  padding: clamp(26px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-paper);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(23, 21, 17, 0.07);
}

.page-center .form label {
  font-size: 13px;
  color: var(--paper-ink);
  text-align: left;
}

.page-center .form input,
.page-center .form textarea,
.page-center .form select {
  width: 100%;
  font-size: 17px;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line-paper);
  border-radius: 10px;
  background: #fff;
}

.page-center .form select {
  font-family: var(--font-disp);
  color: var(--paper-ink);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2377736a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease;
}

/* Solange nur der Platzhalter ("Bitte auswählen") gewählt ist */
.page-center .form select:invalid {
  color: var(--paper-dim);
}

.page-center .form select option {
  color: var(--paper-ink);
}

.page-center .form input:focus,
.page-center .form textarea:focus,
.page-center .form select:focus {
  border-color: var(--gold-deep);
}

.page-center .form-send {
  justify-self: center;
  border-radius: 10px;
  padding: 14px 34px;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-center .form-send:hover {
  background: var(--paper-ink);
  border-color: var(--paper-ink);
  color: var(--paper);
}

/* Datenschutz-Checkbox */
.form label.form-consent {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  max-width: 470px;
  margin-inline: auto;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  cursor: pointer;
}

.form .form-consent input {
  width: 15px;
  height: 15px;
  padding: 0;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--gold-deep);
}

.form-consent a {
  color: var(--paper-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.form-consent a:hover {
  color: var(--gold-deep);
}

.page-foot {
  margin-top: auto;
  padding: 60px 0 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
}

/* ---------- Responsiv ---------- */

@media (max-width: 760px) {
  .topnav {
    display: none;
  }

  /* Topbar: nur Marke + Icons — der Status wandert in den Hero */
  .status {
    display: none;
  }

  .hero-status {
    display: flex;
  }

  .top-actions {
    gap: 6px;
  }

  .top-actions a {
    width: 30px;
    height: 30px;
  }

  /* (01)-Foto: klein und bewusst nach rechts gesetzt — wie eingeklebt */
  .img-window {
    width: min(300px, 78vw);
    margin-right: 20px;
  }

  .img-window img {
    height: 200px;
  }

  .img-break .img-caption {
    width: min(300px, 78vw);
    margin-right: 20px;
    padding-top: 10px;
  }

  .img-break {
    padding-bottom: 44px;
  }

  /* Puffer: Schwarz bleibt geschlossen, während die Browser-Toolbar
     beim ersten Scrollen einklappt und der Viewport dabei wächst */
  .hero {
    min-height: calc(100vh + 80px);
    min-height: calc(100lvh + 80px);
  }

  /* (01) braucht nach dem Schwarz oben spürbar Luft */
  .statement {
    padding-top: 118px;
  }

  .hero-logo {
    top: 12%;
    width: 96px;
    opacity: 0.7;
  }

  /* Headline auf Mobile größer */
  h1 {
    font-size: clamp(52px, 16vw, 84px);
  }

  .hero-sub {
    max-width: 300px;
    margin-top: 26px;
  }

  /* Leistungen: Nummer links, Titel + Text rechts — kompakt */
  .row {
    grid-template-columns: 40px 1fr;
    gap: 4px 14px;
    padding: 14px 0;
  }

  .row-num {
    grid-column: 1;
    grid-row: 1;
  }

  .row-title {
    grid-column: 2;
    grid-row: 1;
  }

  .row-desc {
    grid-column: 2;
    font-size: 12px;
  }

  .row-arrow {
    display: none;
  }

  /* Ablauf: volle Breite, ohne Treppe */
  .step:nth-child(n) {
    width: 100%;
    margin-left: 0;
  }

  .step {
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    padding: 12px 0 16px;
  }

  .step-num {
    font-size: 22px;
  }

  .step-desc {
    margin-top: 2px;
    font-size: 12px;
  }

  .statement-tile,
  .contact-tile {
    display: none;
  }

  /* Kennzahlen: drei ruhige, zentrierte Zeilen statt wildem Umbruch */
  .rows-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    margin-top: 26px;
  }

  .rows-note .sep {
    display: none;
  }

  /* Fußleiste: sauber gestapelt und zentriert */
  .site-foot .tag {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .foot-right {
    justify-content: center;
    gap: 18px;
  }

  #thread path {
    stroke-width: 1.25;
    opacity: 0.65;
  }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  h1 .l > span {
    transform: none;
  }

  .statement-text .w {
    opacity: 1;
  }

  .row,
  .fade {
    opacity: 1;
    transform: none;
  }

  .rule {
    transform: scaleX(1);
  }

  .img-window {
    clip-path: none;
  }

  .img-window img {
    transform: none;
  }
}
