/* ==========================================================================
   Nodus Architekten
   Schrift: Archivo durchgehend. Farbwelt: reines Schwarz/Weiss, wie auf der
   Visitenkarte -- kein Farbakzent, viel Weissraum, klare Gewichts-Kontraste.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #6e6e68;
  --line: #e2e0d8;

  --maxw: 1160px;
  --gap: 2rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M25.0%2C16.0%20L25.3%2C16.5%20L25.6%2C17.0%20L25.8%2C17.6%20L25.8%2C18.1%20L25.7%2C18.6%20L25.5%2C19.1%20L25.2%2C19.6%20L24.8%2C19.9%20L24.3%2C20.3%20L23.7%2C20.5%20L23.2%2C20.7%20L22.7%2C20.9%20L22.3%2C21.1%20L21.9%2C21.4%20L21.5%2C21.6%20L21.3%2C22.0%20L21.1%2C22.4%20L20.9%2C22.8%20L20.7%2C23.3%20L20.5%2C23.9%20L20.2%2C24.4%20L19.9%2C24.9%20L19.5%2C25.3%20L19.0%2C25.6%20L18.5%2C25.8%20L18.0%2C25.8%20L17.4%2C25.7%20L16.9%2C25.5%20L16.4%2C25.3%20L15.9%2C24.9%20L15.4%2C24.6%20L15.0%2C24.2%20L14.6%2C23.9%20L14.2%2C23.7%20L13.8%2C23.6%20L13.4%2C23.6%20L12.9%2C23.6%20L12.4%2C23.7%20L11.9%2C23.7%20L11.3%2C23.8%20L10.7%2C23.8%20L10.1%2C23.8%20L9.6%2C23.6%20L9.1%2C23.4%20L8.7%2C23.0%20L8.4%2C22.5%20L8.3%2C22.0%20L8.2%2C21.4%20L8.2%2C20.8%20L8.2%2C20.3%20L8.3%2C19.7%20L8.4%2C19.2%20L8.4%2C18.7%20L8.4%2C18.3%20L8.3%2C17.9%20L8.1%2C17.5%20L7.9%2C17.1%20L7.5%2C16.7%20L7.2%2C16.2%20L6.8%2C15.8%20L6.5%2C15.2%20L6.3%2C14.7%20L6.2%2C14.2%20L6.2%2C13.6%20L6.3%2C13.1%20L6.6%2C12.6%20L7.0%2C12.2%20L7.5%2C11.9%20L8.0%2C11.6%20L8.5%2C11.4%20L9.0%2C11.2%20L9.5%2C11.0%20L9.9%2C10.8%20L10.3%2C10.5%20L10.6%2C10.2%20L10.8%2C9.8%20L11.0%2C9.4%20L11.2%2C8.9%20L11.4%2C8.4%20L11.7%2C7.8%20L12.0%2C7.3%20L12.3%2C6.9%20L12.8%2C6.5%20L13.2%2C6.3%20L13.8%2C6.2%20L14.3%2C6.2%20L14.8%2C6.3%20L15.4%2C6.6%20L15.9%2C6.9%20L16.3%2C7.3%20L16.8%2C7.6%20L17.2%2C7.9%20L17.6%2C8.2%20L18.0%2C8.3%20L18.4%2C8.4%20L18.8%2C8.4%20L19.3%2C8.4%20L19.8%2C8.3%20L20.4%2C8.2%20L21.0%2C8.2%20L21.6%2C8.2%20L22.1%2C8.3%20L22.7%2C8.5%20L23.1%2C8.8%20L23.4%2C9.2%20L23.7%2C9.7%20L23.8%2C10.3%20L23.8%2C10.9%20L23.8%2C11.5%20L23.7%2C12.0%20L23.6%2C12.6%20L23.6%2C13.1%20L23.6%2C13.5%20L23.6%2C13.9%20L23.8%2C14.3%20L24.0%2C14.7%20L24.3%2C15.1%20L24.6%2C15.5%20L25.0%2C16.0%20Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M26.0%2C16.0%20L26.1%2C16.5%20L26.0%2C17.1%20L25.9%2C17.6%20L25.6%2C18.1%20L25.2%2C18.5%20L24.8%2C18.9%20L24.3%2C19.2%20L23.8%2C19.5%20L23.3%2C19.8%20L22.9%2C20.0%20L22.6%2C20.3%20L22.4%2C20.7%20L22.2%2C21.1%20L22.1%2C21.5%20L22.0%2C22.0%20L21.9%2C22.6%20L21.7%2C23.2%20L21.5%2C23.7%20L21.3%2C24.2%20L20.9%2C24.7%20L20.5%2C25.0%20L20.0%2C25.3%20L19.5%2C25.3%20L18.9%2C25.3%20L18.4%2C25.2%20L17.8%2C25.0%20L17.3%2C24.7%20L16.8%2C24.4%20L16.3%2C24.2%20L15.9%2C24.0%20L15.5%2C23.9%20L15.1%2C23.9%20L14.6%2C23.9%20L14.2%2C24.0%20L13.7%2C24.2%20L13.1%2C24.4%20L12.6%2C24.6%20L12.0%2C24.7%20L11.4%2C24.7%20L10.8%2C24.6%20L10.4%2C24.4%20L9.9%2C24.0%20L9.6%2C23.6%20L9.4%2C23.1%20L9.2%2C22.5%20L9.1%2C21.9%20L9.1%2C21.4%20L9.1%2C20.8%20L9.1%2C20.3%20L9.0%2C19.8%20L8.9%2C19.4%20L8.7%2C19.1%20L8.4%2C18.7%20L8.1%2C18.4%20L7.6%2C18.0%20L7.2%2C17.6%20L6.8%2C17.2%20L6.4%2C16.8%20L6.1%2C16.3%20L6.0%2C15.7%20L5.9%2C15.2%20L6.0%2C14.7%20L6.3%2C14.2%20L6.6%2C13.7%20L7.0%2C13.3%20L7.5%2C13.0%20L8.0%2C12.6%20L8.4%2C12.4%20L8.9%2C12.1%20L9.2%2C11.8%20L9.5%2C11.5%20L9.7%2C11.1%20L9.9%2C10.7%20L10.0%2C10.2%20L10.1%2C9.7%20L10.2%2C9.1%20L10.4%2C8.6%20L10.6%2C8.0%20L10.9%2C7.5%20L11.3%2C7.1%20L11.7%2C6.8%20L12.2%2C6.7%20L12.8%2C6.6%20L13.4%2C6.7%20L13.9%2C6.9%20L14.5%2C7.2%20L15.0%2C7.4%20L15.5%2C7.7%20L15.9%2C7.9%20L16.3%2C8.1%20L16.7%2C8.1%20L17.2%2C8.1%20L17.6%2C8.0%20L18.1%2C7.9%20L18.6%2C7.7%20L19.2%2C7.5%20L19.7%2C7.4%20L20.3%2C7.3%20L20.9%2C7.4%20L21.4%2C7.5%20L21.9%2C7.8%20L22.2%2C8.2%20L22.5%2C8.6%20L22.7%2C9.2%20L22.8%2C9.8%20L22.9%2C10.3%20L22.9%2C10.9%20L22.9%2C11.5%20L23.0%2C11.9%20L23.1%2C12.4%20L23.2%2C12.8%20L23.4%2C13.1%20L23.8%2C13.5%20L24.1%2C13.8%20L24.6%2C14.2%20L25.0%2C14.6%20L25.4%2C15.0%20L25.7%2C15.5%20L26.0%2C16.0%20Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") 16 16, auto;
}

/* Auf dem schwarzen Footer-Balken denselben Knoten in Weiss zeigen, sonst
   wäre der schwarze Cursor dort unsichtbar. */
.site-footer, .site-footer * {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M25.0%2C16.0%20L25.3%2C16.5%20L25.6%2C17.0%20L25.8%2C17.6%20L25.8%2C18.1%20L25.7%2C18.6%20L25.5%2C19.1%20L25.2%2C19.6%20L24.8%2C19.9%20L24.3%2C20.3%20L23.7%2C20.5%20L23.2%2C20.7%20L22.7%2C20.9%20L22.3%2C21.1%20L21.9%2C21.4%20L21.5%2C21.6%20L21.3%2C22.0%20L21.1%2C22.4%20L20.9%2C22.8%20L20.7%2C23.3%20L20.5%2C23.9%20L20.2%2C24.4%20L19.9%2C24.9%20L19.5%2C25.3%20L19.0%2C25.6%20L18.5%2C25.8%20L18.0%2C25.8%20L17.4%2C25.7%20L16.9%2C25.5%20L16.4%2C25.3%20L15.9%2C24.9%20L15.4%2C24.6%20L15.0%2C24.2%20L14.6%2C23.9%20L14.2%2C23.7%20L13.8%2C23.6%20L13.4%2C23.6%20L12.9%2C23.6%20L12.4%2C23.7%20L11.9%2C23.7%20L11.3%2C23.8%20L10.7%2C23.8%20L10.1%2C23.8%20L9.6%2C23.6%20L9.1%2C23.4%20L8.7%2C23.0%20L8.4%2C22.5%20L8.3%2C22.0%20L8.2%2C21.4%20L8.2%2C20.8%20L8.2%2C20.3%20L8.3%2C19.7%20L8.4%2C19.2%20L8.4%2C18.7%20L8.4%2C18.3%20L8.3%2C17.9%20L8.1%2C17.5%20L7.9%2C17.1%20L7.5%2C16.7%20L7.2%2C16.2%20L6.8%2C15.8%20L6.5%2C15.2%20L6.3%2C14.7%20L6.2%2C14.2%20L6.2%2C13.6%20L6.3%2C13.1%20L6.6%2C12.6%20L7.0%2C12.2%20L7.5%2C11.9%20L8.0%2C11.6%20L8.5%2C11.4%20L9.0%2C11.2%20L9.5%2C11.0%20L9.9%2C10.8%20L10.3%2C10.5%20L10.6%2C10.2%20L10.8%2C9.8%20L11.0%2C9.4%20L11.2%2C8.9%20L11.4%2C8.4%20L11.7%2C7.8%20L12.0%2C7.3%20L12.3%2C6.9%20L12.8%2C6.5%20L13.2%2C6.3%20L13.8%2C6.2%20L14.3%2C6.2%20L14.8%2C6.3%20L15.4%2C6.6%20L15.9%2C6.9%20L16.3%2C7.3%20L16.8%2C7.6%20L17.2%2C7.9%20L17.6%2C8.2%20L18.0%2C8.3%20L18.4%2C8.4%20L18.8%2C8.4%20L19.3%2C8.4%20L19.8%2C8.3%20L20.4%2C8.2%20L21.0%2C8.2%20L21.6%2C8.2%20L22.1%2C8.3%20L22.7%2C8.5%20L23.1%2C8.8%20L23.4%2C9.2%20L23.7%2C9.7%20L23.8%2C10.3%20L23.8%2C10.9%20L23.8%2C11.5%20L23.7%2C12.0%20L23.6%2C12.6%20L23.6%2C13.1%20L23.6%2C13.5%20L23.6%2C13.9%20L23.8%2C14.3%20L24.0%2C14.7%20L24.3%2C15.1%20L24.6%2C15.5%20L25.0%2C16.0%20Z%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M26.0%2C16.0%20L26.1%2C16.5%20L26.0%2C17.1%20L25.9%2C17.6%20L25.6%2C18.1%20L25.2%2C18.5%20L24.8%2C18.9%20L24.3%2C19.2%20L23.8%2C19.5%20L23.3%2C19.8%20L22.9%2C20.0%20L22.6%2C20.3%20L22.4%2C20.7%20L22.2%2C21.1%20L22.1%2C21.5%20L22.0%2C22.0%20L21.9%2C22.6%20L21.7%2C23.2%20L21.5%2C23.7%20L21.3%2C24.2%20L20.9%2C24.7%20L20.5%2C25.0%20L20.0%2C25.3%20L19.5%2C25.3%20L18.9%2C25.3%20L18.4%2C25.2%20L17.8%2C25.0%20L17.3%2C24.7%20L16.8%2C24.4%20L16.3%2C24.2%20L15.9%2C24.0%20L15.5%2C23.9%20L15.1%2C23.9%20L14.6%2C23.9%20L14.2%2C24.0%20L13.7%2C24.2%20L13.1%2C24.4%20L12.6%2C24.6%20L12.0%2C24.7%20L11.4%2C24.7%20L10.8%2C24.6%20L10.4%2C24.4%20L9.9%2C24.0%20L9.6%2C23.6%20L9.4%2C23.1%20L9.2%2C22.5%20L9.1%2C21.9%20L9.1%2C21.4%20L9.1%2C20.8%20L9.1%2C20.3%20L9.0%2C19.8%20L8.9%2C19.4%20L8.7%2C19.1%20L8.4%2C18.7%20L8.1%2C18.4%20L7.6%2C18.0%20L7.2%2C17.6%20L6.8%2C17.2%20L6.4%2C16.8%20L6.1%2C16.3%20L6.0%2C15.7%20L5.9%2C15.2%20L6.0%2C14.7%20L6.3%2C14.2%20L6.6%2C13.7%20L7.0%2C13.3%20L7.5%2C13.0%20L8.0%2C12.6%20L8.4%2C12.4%20L8.9%2C12.1%20L9.2%2C11.8%20L9.5%2C11.5%20L9.7%2C11.1%20L9.9%2C10.7%20L10.0%2C10.2%20L10.1%2C9.7%20L10.2%2C9.1%20L10.4%2C8.6%20L10.6%2C8.0%20L10.9%2C7.5%20L11.3%2C7.1%20L11.7%2C6.8%20L12.2%2C6.7%20L12.8%2C6.6%20L13.4%2C6.7%20L13.9%2C6.9%20L14.5%2C7.2%20L15.0%2C7.4%20L15.5%2C7.7%20L15.9%2C7.9%20L16.3%2C8.1%20L16.7%2C8.1%20L17.2%2C8.1%20L17.6%2C8.0%20L18.1%2C7.9%20L18.6%2C7.7%20L19.2%2C7.5%20L19.7%2C7.4%20L20.3%2C7.3%20L20.9%2C7.4%20L21.4%2C7.5%20L21.9%2C7.8%20L22.2%2C8.2%20L22.5%2C8.6%20L22.7%2C9.2%20L22.8%2C9.8%20L22.9%2C10.3%20L22.9%2C10.9%20L22.9%2C11.5%20L23.0%2C11.9%20L23.1%2C12.4%20L23.2%2C12.8%20L23.4%2C13.1%20L23.8%2C13.5%20L24.1%2C13.8%20L24.6%2C14.2%20L25.0%2C14.6%20L25.4%2C15.0%20L25.7%2C15.5%20L26.0%2C16.0%20Z%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") 16 16, auto;
}

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

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

/* ---------- Header ---------- */

.site-header {
  padding: 1.1rem 1.5rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.site-header.is-scrolled .header-logo {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.header-nav {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.header-nav a:hover { border-color: var(--ink); }

/* ---------- Hero: NODUS als Titel über die volle Bildschirmbreite,
   randabfallend wie auf der Visitenkarte ---------- */

.hero {
  position: relative;
  height: 115vh;
}

.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-title {
  margin: 0;
  width: 100%;
  padding: 0 0.75rem;
  font-size: clamp(4.5rem, 25vw, 15rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: center;
}

.hero-letters .letter {
  display: inline-block;
  will-change: transform, opacity;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Platzhalter-Rahmen (bis echte Fotos eingesetzt sind) ---------- */

.frame {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--bg);
}

.frame-wide     { aspect-ratio: 16 / 7; }
.frame-square   { aspect-ratio: 1 / 1; }
.frame-portrait { aspect-ratio: 4 / 5; }

.placeholder {
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-mark {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--line);
  letter-spacing: 0.05em;
}

.frame-wide .placeholder-mark {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ---------- Gruppenbild ---------- */

.group-photo { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }

.group-text {
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Team (spiegelt die Rückseite der Visitenkarte:
   Name fett gestapelt links, Rolle / Abschluss regular rechts) ---------- */

.team { padding: clamp(2rem, 5vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }

.team h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem var(--gap);
}

.team-card { display: flex; flex-direction: column; }

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}
.portrait-img--back { opacity: 0; }
.portrait:hover .portrait-img--front { opacity: 0; }
.portrait:hover .portrait-img--back { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .portrait-img { transition: none; }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card-name {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
}
.card-name span { display: block; }

.card-role {
  text-align: right;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.card-role .role { color: var(--ink); font-weight: 500; }

.placeholder-text {
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Footer / Kontakt (spiegelt den Kontaktblock der Karte) ---------- */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.site-footer .eyebrow { color: var(--bg); opacity: 0.7; }

.email-link {
  display: inline-block;
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 700;
  border-bottom: 1px solid var(--bg);
  padding-bottom: 4px;
  transition: opacity 0.15s ease;
}
.email-link:hover { opacity: 0.6; }

.footer-fine {
  margin: 2.5rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--bg);
  opacity: 0.6;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; gap: 2.75rem; }
}

@media (max-width: 480px) {
  .header-nav { gap: 1.1rem; }
  .card-header { flex-direction: column; }
  .card-role { text-align: left; }
}
