/* ==========================================================
   Portfolio Clarissa – Gestaltung
   Nachbau der Framer-Vorlage in schlichtem CSS.
   Werte stammen aus der Vorlage (siehe _framer/layout-notizen.md).
   ========================================================== */


/* ---------- Schriften (lokal, keine Verbindung zu Google) ----------
   Bricolage Grotesque und Public Sans, beide unter der SIL Open Font License. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragment-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}


/* ---------- Grundwerte: hier lassen sich Farben und Abstände zentral ändern ---------- */

:root {
  --hell: #f2f2f2;          /* Seitenhintergrund */
  --weiss: #ffffff;         /* Karten */
  --dunkel: #171312;        /* dunkle Abschnitte */
  --schwarz: #000000;
  --akzent: #fc7200;        /* Orange */
  --text: #000000;
  --text-leise: rgba(0, 0, 0, .6);
  --linie: rgba(0, 0, 0, .4);

  --schrift-titel: "Bricolage Grotesque", system-ui, sans-serif;
  --schrift-text: "Public Sans", system-ui, sans-serif;
  --schrift-mono: "Fragment Mono", ui-monospace, monospace;

  --rand: 32px;             /* Abstand zum Bildschirmrand */
  --abschnitt: 100px;       /* Abstand oben/unten je Abschnitt */
  --breite: 1600px;         /* maximale Inhaltsbreite */
}

@media (max-width: 809px) {
  :root {
    --rand: 16px;
    --abschnitt: 64px;
  }
}


/* ---------- Seitenübergang (wie in der Vorlage) ----------
   Beim Wechsel zwischen Seiten gleitet die alte Seite 20 % nach oben und
   verblasst, die neue wird von unten nach oben aufgedeckt (je 0,7 s).
   Nutzt die View-Transitions der Browser (Chrome, Safari ab 18.2);
   andere Browser wechseln die Seite einfach ohne Übergang. */

@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: seite-raus .7s cubic-bezier(.87, .11, .43, 1) both;
}
::view-transition-new(root) {
  animation: seite-rein .7s cubic-bezier(.89, .11, .4, 1.01) both;
}

@keyframes seite-raus {
  to { opacity: 0; transform: translateY(-20%); }
}
@keyframes seite-rein {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}


/* ---------- Grundlagen ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  /* Bricolage Grotesque immer mit optischer Größe 14 – wie die Schnitte in
     der Vorlage. Sonst wählt der Browser bei großen Schriftgrößen den
     engeren Display-Schnitt (Headlines liefen bis zu 11 % enger). */
  font-variation-settings: "opsz" 14;
  margin: 0;
  background: var(--hell);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

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

/* <picture> hat keine eigene Box: Die Regeln für img gelten direkt */
picture { display: contents; }
picture > source { display: none; }

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.abschnitt { padding: var(--abschnitt) 0; }

.abschnitt--dunkel {
  background: var(--dunkel);
  color: #fff;
  --text-leise: rgba(255, 255, 255, .6);
  --linie: rgba(255, 255, 255, .6);
}

.nur-screenreader {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}


/* ---------- Schriftstile ---------- */

.label {
  font-family: var(--schrift-titel);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: uppercase;
}

.titel-riesig {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.titel-gross {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.titel-mittel {
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.text-leise { color: var(--text-leise); }

.fliesstext {
  font-weight: 300;
  line-height: 1.4;
}

.fliesstext a { text-decoration: underline; text-underline-offset: 3px; }
.fliesstext p + p { margin-top: 1em; }
.fliesstext h2 {
  margin: 2em 0 .5em;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.fliesstext h2:first-child { margin-top: 0; }


/* ---------- Knöpfe ---------- */

.knopf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 200px;
  height: 48px;
  padding: 6px 12px 6px 16px;
  border-radius: 4px;
  background: var(--schwarz);
  color: #fff;
  font-size: 16px;
}

/* Orange Fläche: liegt als schmaler Streifen über dem Button und läuft
   beim Überfahren von oben über die ganze Fläche (wie in der Vorlage) */
.knopf::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -12px;
  right: -14px;
  width: 110%;
  height: 8px;
  background: var(--akzent);
  transition: top .4s cubic-bezier(.34, 1.3, .64, 1), height .4s cubic-bezier(.34, 1.3, .64, 1);
}
.knopf:hover::before,
.knopf:focus-visible::before { top: 0; height: 110%; }

/* Text und Pfeil rollen nach oben, die Kopie rückt nach */
.knopf .rolle { height: 1.4em; line-height: 1.4em; }
.knopf .rolle--pfeil { height: 14px; line-height: 0; }
.knopf .rolle--pfeil > span { height: 14px; }
.knopf .rolle > span + span { color: inherit; }
.knopf:hover .rolle > span,
.knopf:focus-visible .rolle > span { transform: translateY(-100%); }

.knopf--hell { background: #fff; color: #000; }

.pfeil { width: 14px; height: 14px; flex: none; }


/* ---------- Kopfzeile und Menü ---------- */

.kopf {
  /* fixiert wie in der Vorlage: 10 px unter dem Fensterrand */
  position: fixed;
  top: 10px; left: 0; right: 0;
  z-index: 20;
  padding: 23px var(--rand);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #000;
  --kopf-linie: rgba(0, 0, 0, .6);
  --kopf-text: rgba(0, 0, 0, .8);
  pointer-events: none;            /* nur Name und Menü sind klickbar */
  transition: transform 1s cubic-bezier(.34, 1.2, .64, 1), opacity 1s cubic-bezier(.34, 1.2, .64, 1),
              color .3s;
}
.kopf > * { pointer-events: auto; }

/* weiß über dunklen Bereichen (main.js schaltet das beim Scrollen um) */
.kopf--hell {
  color: #fff;
  --kopf-linie: rgba(255, 255, 255, .6);
  --kopf-text: rgba(255, 255, 255, .8);
}

/* beim Herunterscrollen weggleiten, beim Hochscrollen wiederkommen */
.kopf.ist-versteckt { transform: translateY(-120px); opacity: 0; }

.kopf__name {
  font-family: var(--schrift-text);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.kopf__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 205px;
  padding-top: 3px;
  border: 0;
  border-top: 1px solid var(--kopf-linie, rgba(255, 255, 255, .6));
  background: none;
  color: var(--kopf-text, rgba(255, 255, 255, .8));
  font: inherit;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s, border-color .3s;
}

.kopf__menu svg { width: 20px; height: 20px; margin: 4px; }

/* Menü-Icon-Animation wie in der Vorlage: Randpunkte ausblenden und
   um 45° drehen, mit leichtem Nachfedern (0,4 s) */
.menue-icon { fill: currentColor; transition: transform .4s cubic-bezier(.34, 1.4, .64, 1); }
.menue-icon__rand { transition: opacity .25s; }
.kopf__menu:hover .menue-icon:not(.menue-icon--zu),
.kopf__menu:focus-visible .menue-icon:not(.menue-icon--zu) { transform: rotate(45deg); }
.kopf__menu:hover .menue-icon__rand,
.kopf__menu:focus-visible .menue-icon__rand,
.menue-icon--zu .menue-icon__rand { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .menue-icon, .menue-icon__rand { transition: none; }
  .kopf { transition: none; }
}

.menue {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--dunkel);
  color: #fff;
  padding: 33px var(--rand) var(--rand);   /* Schließen-Knopf auf Höhe des Menü-Knopfs */
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform 1s cubic-bezier(.34, 1.2, .64, 1);
}

.menue.ist-offen { opacity: 1; visibility: visible; }

/* beim Herunterscrollen gleitet das offene Menü mit dem Kopf nach oben weg (wie in der Vorlage) */
.menue.ist-weggescrollt { transform: translateY(-120px); transition-duration: 1s, 1s, 1s; }

.menue__kopf { display: flex; justify-content: space-between; align-items: flex-start; }

.menue__liste { margin-top: auto; }

.menue__liste a {
  display: flex;
  align-items: flex-start; /* Nummer oben bündig direkt hinter dem Wort (wie Vorlage) */
  gap: 14px;
  padding: 12px 0;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  transition: color .2s;
}
.menue__liste a[aria-current] { color: var(--akzent); }

/* großer Text und Nummer rollen nach oben, die orange Kopie rückt nach */
/* oben je Zeile etwas Luft, damit Umlaut-Punkte der Kopie (Ü) verdeckt bleiben */
.menue__liste .rolle { height: 1.2em; margin-top: -.2em; }
.menue__liste .rolle > span { line-height: 1em; padding-top: .2em; }
.menue__liste small.rolle { height: 1.4em; }
.menue__liste small.rolle > span { line-height: 1.4em; padding-top: 0; }
.menue__liste a:hover .rolle > span,
.menue__liste a:focus-visible .rolle > span { transform: translateY(-100%); }

.menue__liste small {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.menue__liste a:not([aria-current]) small > span:first-child { color: rgba(255, 255, 255, .6); }


/* ---------- Abschnittskopf: //01 TITEL + Linie + Einleitung ---------- */

.kopfzeile { margin-bottom: 64px; }

.kopfzeile__titel {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.kopfzeile__nummer {
  color: var(--akzent);
  font-family: var(--schrift-titel);
  font-weight: 500;
  font-size: 16px;
  padding-top: .6em;
}

.kopfzeile__linie {
  position: relative;
  overflow: hidden;
  height: 1px;
  background: var(--linie);
  margin: 16px 0;
}
/* fährt beim Hereinscrollen von links herein: dann zeichnet ::after die Linie */
.kopfzeile__linie[data-einblenden] { background: none; }

.kopfzeile__unten {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.kopfzeile__intro {
  margin-left: auto;
  max-width: 300px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-leise);
}

.kopfzeile__oben {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}


/* ---------- Startseite: großer Einstieg ---------- */

.einstieg {
  /* bleibt beim Scrollen am oberen Rand stehen; die folgenden Abschnitte
     schieben sich darüber (wie in der Vorlage) */
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100svh;
  background: var(--dunkel);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.einstieg__bild {
  position: absolute;
  inset: 0;
  /* Porträt in voller Höhe, unbeschnitten und mittig; die Fläche daneben
     hat die Randfarbe des Bildes (--randfarbe), damit es fensterbreit wirkt */
  display: flex;
  justify-content: center;
  background: var(--randfarbe, var(--dunkel));
}

.einstieg__bild img {
  flex: none;
  width: auto;
  height: 100%;
  max-width: none;
  /* weicher Übergang an den Bildkanten in die Randfarbe */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.einstieg__bild::after {
  /* dunkler Verlauf, damit der Text lesbar bleibt */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 100%);
}

.einstieg__inhalt {
  position: relative;
  padding: 0 var(--rand) 24px;
}

.einstieg__oben {
  /* liegt über dem großen Namen, dessen Fläche nach oben überragt –
     sonst wären Button und Links nicht anklickbar */
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.einstieg__text {
  max-width: 400px;
  font-size: 16px;
  line-height: 1.4;
}

.einstieg__name {
  font-family: var(--schrift-titel);
  font-weight: 500;
  font-size: 30vw;          /* Näherung; main.js passt die Größe exakt an die Breite an */
  line-height: .8;
  letter-spacing: -0.04em;
  margin: 24px 0;
  white-space: nowrap;
}

.einstieg__unten {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding-top: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

/* Linie über der unteren Zeile (eigenes Element, damit sie hereinfahren kann) */
.einstieg__unten::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, .6);
}

/* ---------- Einblend-Folge der Startseite beim Laden (wie in der Vorlage) ----------
   Läuft bei jedem Aufruf der Startseite, rein mit CSS. Werte aus Framer:
   Verzögerung und Dauer je Element, federnde Bewegung = sanft auslaufende Kurve. */

@keyframes einstieg-hoch {
  from { opacity: 0; transform: translateY(var(--einstieg-von, 32px)); }
}
@keyframes einstieg-zoom {
  from { transform: scale(1.1); }
}
@keyframes einstieg-linie {
  from { transform: translateX(-100%); }
}

.einstieg__bild img {
  animation: einstieg-zoom .7s cubic-bezier(.44, 0, .56, 1) both;
}
.einstieg__name {
  --einstieg-von: 126px;
  animation: einstieg-hoch 2.2s cubic-bezier(.16, 1, .3, 1) .3s both;
}
.einstieg__unten::before {
  animation: einstieg-linie .8s cubic-bezier(.44, 0, .56, 1) .7s both;
}
.einstieg__aktionen {
  animation: einstieg-hoch 1.6s cubic-bezier(.16, 1, .3, 1) .9s both;
}
.einstieg__text {
  animation: einstieg-hoch 1.6s cubic-bezier(.16, 1, .3, 1) 1s both;
}
.einstieg__unten span {
  --einstieg-von: 126px;
  animation: einstieg-hoch 2.2s cubic-bezier(.16, 1, .3, 1) 1s both;
}

@media (prefers-reduced-motion: reduce) {
  .einstieg__bild img,
  .einstieg__name,
  .einstieg__unten::before,
  .einstieg__aktionen,
  .einstieg__text,
  .einstieg__unten span { animation: none; }
}

.einstieg__unten span:nth-child(2) { text-align: center; }
.einstieg__unten span:nth-child(3) { text-align: right; }

.social-icons { display: flex; flex-direction: column; gap: 12px; align-items: center; }

.social-icons a {
  font-size: 12px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: .8;
}
.social-icons a:hover { opacity: 1; color: var(--akzent); }

.einstieg__aktionen { display: flex; align-items: flex-end; gap: 24px; }


/* ---------- Über mich (Startseite) ---------- */

.ueber__oben {
  display: grid;
  grid-template-columns: 743fr 633fr;   /* Text beginnt wie in der Vorlage bei 54 % */
  gap: 32px 0;
  align-items: start;
}

/* „Die Person hinter den Pixeln“: wie in der Vorlage Public Sans 48 px */
.ueber__titel {
  max-width: 688px;
  padding-right: 32px;
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.ueber__text { max-width: 590px; }
.ueber__text .knopf { margin-top: 32px; }

.ueber__unten {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-top: 120px;
  align-items: end;
}

.kennzahlen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 32px;
}

/* Linie zwischen Zahl und Beschreibung, wie in der Vorlage */
.kennzahl__zahl {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.kennzahl { color: var(--text-leise); }
.kennzahl__zahl { color: var(--text); }

.kennzahl__zusatz { margin-top: 4px; }


/* ---------- Projektkarten ---------- */

.projekte-raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px 32px;
}

.projektkarte { display: block; }

.projektkarte__bild {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(127, 127, 127, .15);
}

.projektkarte__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.44, 0, .56, 1), filter 1.2s cubic-bezier(.44, 0, .56, 1);
}

/* Überfahren wie in der Vorlage: unscharf und leicht vergrößert */
.projektkarte:hover .projektkarte__bild img { transform: scale(1.1); filter: blur(4px); }

.projektkarte__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 16px;
}

.projektkarte__titel {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.projektkarte__kategorie { color: var(--akzent); font-size: 14px; }

/* Rhythmus wie in der Vorlage: 1 große Karte links, dann 2 kleinere rechts */
.projektkarte--gross {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: end;
}

.projektkarte--gross .projektkarte__info { margin: 0; }

.projektkarte--klein-1 { grid-column: 5 / 9; }
.projektkarte--klein-2 { grid-column: 9 / 13; }

.projektkarte--klein-1 .projektkarte__bild,
.projektkarte--klein-2 .projektkarte__bild { aspect-ratio: 1 / 1.1; }


/* ---------- Skills ---------- */

.skill {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--linie);
}

.skill:first-child { padding-top: 0; }

.skill__titel {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.schlagworte { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.schlagwort {
  padding: 4px 10px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 13px;
}

.schlagwort:last-child:not(:first-child) {
  background: var(--schwarz);
  border-color: var(--schwarz);
  color: #fff;
}


/* ---------- Arbeitsweise ---------- */

.schritte {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 66%;
  margin-left: auto;
}

.schritt {
  background: var(--weiss);
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schritt__nummer {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--akzent);
}

.schritt__titel {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
}


/* ---------- Werdegang (mit Reitern) ---------- */

.werdegang {
  display: grid;
  grid-template-columns: 1fr 1fr 2.4fr;
  gap: 32px;
  align-items: start;
}

.reiter { display: flex; flex-direction: column; gap: 8px; }

.reiter button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: 20px;
  color: var(--text-leise);
  cursor: pointer;
}

.reiter button[aria-selected="true"] { color: var(--text); font-weight: 500; }

.werdegang__bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.station {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--linie);
}

.station:first-child { padding-top: 0; }

.station__titel { font-weight: 600; text-transform: uppercase; }
.station__zeitraum { grid-row: 1 / 3; grid-column: 2; align-self: end; font-size: 14px; }
.station__untertitel { font-size: 14px; color: var(--text-leise); }

.werdegang__liste[hidden] { display: none; }


/* ---------- Stimmen ---------- */

.stimme {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.stimme[hidden] { display: none; }

.stimme__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.stimme__name { font-size: 22px; }
.stimme__rolle { font-size: 14px; color: var(--text-leise); margin-top: 4px; }

.stimme__zitat {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  max-width: 820px;
}

.stimme__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.blaettern { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

.blaettern button {
  width: 36px; height: 36px;
  border: 1px solid var(--linie);
  border-radius: 4px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.blaettern button:hover { background: var(--akzent); border-color: var(--akzent); }


/* ---------- Fragen ---------- */

.fragen { width: 66%; margin-left: auto; }

.frage { border-bottom: 1px solid var(--linie); }

.frage summary {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}

.frage summary::-webkit-details-marker { display: none; }

.frage__nummer { color: var(--akzent); font-size: 16px; }

.frage__plus {
  color: var(--akzent);
  font-size: 26px;
  line-height: 1;
  text-align: right;
  transition: transform .2s;
}

.frage[open] .frage__plus { transform: rotate(45deg); }

.frage__antwort {
  padding: 0 32px 24px 48px;
  font-weight: 300;
  color: var(--text-leise);
}


/* ---------- Kontakt ---------- */

.kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.kontakt__text { margin-top: 16px; }

.kontakt__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.kontaktdaten { display: flex; flex-direction: column; gap: 24px; }

.kontaktdaten dt {
  position: relative;
  overflow: hidden;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.kontaktdaten dd { margin: 0; color: var(--text-leise); }
.kontaktdaten a:hover { color: var(--akzent); }

/* Kontaktseite: großes Bild. Der Halter bleibt beim Scrollen stehen, der Rahmen
   wächst (main.js) und das Bild darin wird kleiner: Maße wie in der Vorlage. */
.bildfahrt__halter { position: relative; height: 100vh; overflow: clip; }
.js .bildfahrt { height: 250vh; }
.js .bildfahrt__halter { position: sticky; top: 0; }
.bildfahrt__rahmen {
  position: absolute;
  inset: 0;
  width: min(700px, 100%);
  height: fit-content;
  aspect-ratio: 700 / 392;
  margin: auto;
  overflow: clip;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.bildfahrt__rahmen picture {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 228.57%;
  height: 255.1%;
  margin: -127.55% 0 0 -114.285%;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.bildfahrt__rahmen img { width: 100%; height: 100%; object-fit: cover; }

/* Kontaktseite: Bild links, Kontaktdaten rechts unten */
.kontaktblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 1000px) { .kontaktblock { padding-inline: 64px; } }
.kontaktblock__bild img { width: 100%; height: auto; aspect-ratio: 640 / 500; object-fit: cover; border-radius: 4px; }
.kontaktblock .kontaktdaten { gap: 32px; margin: 0; }
.kontaktblock .kontaktdaten dt { font-size: 18px; font-weight: 500; }

@media (prefers-reduced-motion: reduce), print {
  .js .bildfahrt { height: auto; }
  .js .bildfahrt__halter { position: relative; }
}


/* ---------- Abschluss: drei Worte zwischen Bildern ---------- */

.abschluss { padding: 120px 0; overflow: hidden; }

/* Reihen wie in der Vorlage: Bilder 360 × 190 px, länger als das Fenster;
   sie wandern beim Scrollen seitlich (--x setzt main.js) */
.abschluss__reihe {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  margin-bottom: 16px;
  transform: translateX(var(--x, 0px));
  transition: transform 1.5s cubic-bezier(.16, 1, .3, 1);   /* träger Nachlauf wie in Framer */
}

.abschluss__reihe img {
  flex: none;
  width: 360px;
  height: 190px;
  object-fit: cover;
}

.abschluss__wort {
  flex: none;
  width: 360px;
  text-align: center;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 48px);
  text-transform: uppercase;
}


/* ---------- Fuß der Seite ---------- */

.fuss {
  background: var(--dunkel);
  color: #fff;
  overflow: hidden;
  padding-top: 64px;
}

.laufband {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.laufband__spur {
  display: flex;
  flex: none;
  animation: laufband 30s linear infinite;
}

.laufband__spur span { padding-right: .4em; }
.laufband__spur span::after { content: "·"; color: var(--akzent); padding-left: .4em; }

@keyframes laufband { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .laufband__spur { animation: none; }
}

.fuss__spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.fuss__titel { font-size: 22px; margin-bottom: 16px; text-transform: uppercase; }

.fuss__liste a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: 14px;
  transition: color .2s;
}
.fuss__liste a:hover { color: var(--akzent); }

.fuss__social { max-width: 180px; }
.fuss__social a { border: 0; padding: 4px 0; }

.fuss__nav { font-weight: 600; text-transform: uppercase; }

/* Fußmenü-Hover wie in der Vorlage:
   Text und Nummer rollen nach oben, die orange Kopie rückt nach (0,4 s);
   eine weiße Linie fährt von links über die graue Linie (0,6 s). */
.fuss__nav a {
  position: relative;
  isolation: isolate;   /* eigene Ebene wie beim Button */
  overflow: hidden;
  border-bottom: 0;          /* Linie als eigene Ebenen, siehe ::before/::after */
}
.fuss__nav a:hover { color: inherit; }

/* graue Grundlinie und weiße Linie, die beim Überfahren von links hereinfährt;
   beide liegen innerhalb des Eintrags (sonst würden sie abgeschnitten) */
.fuss__nav a::before,
.fuss__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
}
.fuss__nav a::before { background: rgb(56, 56, 56); }
.fuss__nav a::after {
  background: #fff;
  transform: translateX(-101%);
  transition: transform .6s cubic-bezier(.34, 1.15, .64, 1);
}

.rolle {
  isolation: isolate;
  display: inline-block;
  height: 1.4em;
  line-height: 1.4em;
  overflow: hidden;
  vertical-align: top;
}
.rolle > span {
  display: block;
  transition: transform .4s cubic-bezier(.34, 1.3, .64, 1);
}
.rolle > span + span { color: var(--akzent); }
.fuss__nav a:hover .rolle > span,
.fuss__nav a:focus-visible .rolle > span { transform: translateY(-100%); }
.fuss__nav a:hover::after,
.fuss__nav a:focus-visible::after { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .rolle > span, .fuss__nav a::after, .knopf::before { transition: none; }
  .abschluss__reihe { transform: none; transition: none; }
}



/* ---------- Unterseiten: großer Titel oben ---------- */

.seitenkopf { padding: 160px 0 64px; }

.seitenkopf__titel {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 180px);
  line-height: .85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.seitenkopf__claim {
  margin-top: 32px;
  max-width: 820px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
}

/* Rahmen wie in der Vorlage: 700 × 400 px, mittig. Er schneidet ab,
   beim Zoomen wächst nur das Bild darin. */
.grossbild picture {
  display: block;
  overflow: hidden;
  width: min(700px, 100%);
  margin: 0 auto;
}
.grossbild img { width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover; }

.einleitung-zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.einleitung-zweispaltig .fliesstext { font-size: 18px; }


/* ---------- Projekt-Detailseite ---------- */

/* Projektseite wie in der Vorlage: Inhalt höchstens 1200 px breit */
.container--schmal { max-width: 1200px; }

/* Titelbild oben: 16:9, höchstens 1200 px breit, mittig */
.projektbild {
  width: min(1200px, 100%);
  margin: 0 auto;
}
.projektbild img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.projektkopf { padding: 64px 0 48px; }

.projektkopf__titel {
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: clamp(48px, 7.6vw, 110px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.projekt {
  display: grid;
  grid-template-columns: 368fr 708fr;   /* Kachel : Text wie in der Vorlage */
  gap: 32px 60px;
  align-items: start;
}

.projektdaten {
  position: sticky;
  top: 32px;
  background: var(--weiss);
  padding: 24px;
}

.projektdaten h2 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 24px; }

.projektdaten dl { margin: 0 0 24px; }

/* Jede Zeile: Bezeichnung und Wert auf einer gemeinsamen Grundlinie */
.projektdaten__zeile {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 16px;
  align-items: baseline;
  position: relative;
  overflow: hidden;
  padding: 12px 0;
}
/* Linie oben in jeder Zeile, fährt von links herein (versetzt wie in der Vorlage) */
.projektdaten__zeile[data-einblenden]::after { top: 0; bottom: auto; background: rgba(0, 0, 0, .15); }
.projektdaten__zeile:nth-child(2)[data-einblenden]::after { transition-delay: .1s; }
.projektdaten__zeile:nth-child(n+3)[data-einblenden]::after { transition-delay: .2s; }
.projekttext:nth-of-type(2) .projekttext__titel::after { transition-delay: .1s; }
.projekttext:nth-of-type(n+3) .projekttext__titel::after { transition-delay: .2s; }

.projektdaten dt { font-weight: 600; text-transform: uppercase; font-size: 14px; }
.projektdaten dd { margin: 0; color: var(--text-leise); }
.projektdaten .knopf { width: 100%; }

.projekttext { margin-bottom: 64px; }

.projekttext__titel {
  font-family: var(--schrift-text);
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* Ergebnis: Text links, Kennzahlen rechts (2 × 2) */
.ergebnis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 8%;
  align-items: start;
}

.ergebnis .projekttext { margin-bottom: 0; }
.ergebnis .kennzahlen { gap: 48px 32px; }
.projekttext .fliesstext { color: var(--text-leise); max-width: 760px; }

.projektbilder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 64px;
  align-items: start;
}

/* Einheitliches Hochformat (6:7 wie in der Vorlage), egal in welchem
   Format das Bild hochgeladen wurde. Der Bildausschnitt folgt dem
   Fokuspunkt, der im Panel gesetzt werden kann. */
.projektbilder img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

/* Rechte Spalte beginnt versetzt tiefer, wie in der Vorlage */
.projektbilder > picture:nth-child(even) img { margin-top: 7vw; }
.projektbilder > picture:only-child img { grid-column: 1 / -1; }


/* ---------- Schlagwortzeile unter dem Projekttext (wie in der Vorlage) ---------- */

.schlagwortzeile {
  margin: 0 0 64px;
  max-width: 760px;
  font-family: var(--schrift-mono);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.schlagwortzeile span {
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .1);
  /* Hintergrund auch bei Zeilenumbruch sauber an jeder Zeile */
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}


/* ---------- Bildstrecken auf der Projektseite (Slider, Hochformate, Querformat) ----------
   Maße wie in der Vorlage: Inhaltsbreite 87 % der Fensterbreite, mittig. */

.bildbreite {
  width: 87vw;
  margin-left: auto;
  margin-right: auto;
}

/* Abstand zwischen den Bausteinen */
.bausteine > * { margin-top: 96px; }
.bausteine > :first-child { margin-top: 32px; }

/* Slider: immer genau ein Bild sichtbar, wischbar, rastet ein.
   Höchstens 85 % der Fensterhöhe hoch, damit er auch auf Laptops
   ganz ins Bild passt – dann wird er entsprechend schmaler. */
.slider {
  position: relative;
  width: min(87vw, calc(85svh * 1250 / 882));
}

.slider__spur {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider__spur::-webkit-scrollbar { display: none; }

.slider__bild {
  flex: none;
  width: 100%;
  scroll-snap-align: start;
}

.slider__bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 1250 / 882;   /* Querformat wie in der Vorlage */
  object-fit: cover;
}

/* Pfeile: halbtransparente Kreise links und rechts auf dem Bild */
.slider__pfeil {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.slider__pfeil:hover { background: var(--akzent); }
.slider__pfeil svg { width: 20px; height: 20px; }
.slider__pfeil--zurueck { left: 22px; }
.slider__pfeil--weiter { right: 22px; }

/* Pagina: Punkte unten mittig auf dem Bild */
.slider__punkte {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  padding: 0 6px;
  border-radius: 40px;
  background: rgba(0, 0, 0, .2);
}

.slider__punkte button {
  width: 22px;
  height: 33px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slider__punkte button::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  transition: opacity .2s;
}

.slider__punkte button[aria-current="true"]::before { opacity: 1; }

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

/* Zwei schmale Hochformate nebeneinander */
.hochformate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 607px));
  gap: 36px;
}

.hochformate img {
  width: 100%;
  height: auto;
  aspect-ratio: 607 / 891;
  object-fit: cover;
}

/* Großes Querformat */
.querformate { display: grid; gap: 36px; }

/* Kein Zuschnitt: jedes Bild vollständig im eigenen Seitenverhältnis,
   die Höhe ergibt sich aus dem Bild. */
.querformate img {
  width: 100%;
  height: auto;
}


/* ---------- Bild-Effekte beim Scrollen (wie in der Vorlage) ----------
   Die Effekte sind an die Scrollbewegung gekoppelt: Sie beginnen, wenn die
   Oberkante des Bildes unten ins Fenster kommt, und sind fertig, wenn die
   Unterkante unten ankommt. main.js setzt dazu --p von 0 (Anfang) bis 1 (fertig).
   - zoom-stark: von 120 % auf 100 % (Titelbild der Projektseite)
   - zoom:       von 110 % auf 100 % (Slider, Hochformate)
   - bilder:     jedes Bild einzeln von 110 % auf 100 % (Querformat)
   - paar:       beide Bilder von 110 % auf 100 % und aufeinander zu
   Ohne JavaScript oder bei „Bewegung reduzieren“ stehen die Bilder einfach da. */

:root { --effekt-versatz: 102px; }

main { overflow-x: clip; }

/* Alles nach dem Porträt liegt darüber und braucht einen eigenen Hintergrund */
.einstieg ~ * {
  position: relative;
  z-index: 2;
  background: var(--hell);
}
.einstieg ~ .abschnitt--dunkel { background: var(--dunkel); }   /* vergrößerte Bilder erzeugen kein seitliches Scrollen */

[data-effekt="zoom"]       { --effekt-scale: 1.1; }
[data-effekt="zoom-stark"] { --effekt-scale: 1.2; }
[data-effekt="bilder"] img { --effekt-scale: 1.1; }
[data-effekt="bilder-stark"] img { --effekt-scale: 1.2; }
[data-effekt="paar"] img   { --effekt-scale: 1.1; }
[data-effekt="paar"] > picture:nth-child(odd) img  { --effekt-x: calc(-1 * var(--effekt-versatz)); }
[data-effekt="paar"] > picture:nth-child(even) img { --effekt-x: var(--effekt-versatz); }

.js [data-effekt="zoom"],
.js [data-effekt="zoom-stark"],
.js [data-effekt="bilder"] img,
.js [data-effekt="bilder-stark"] img,
.js [data-effekt="paar"] img {
  transform:
    translateX(calc(var(--effekt-x, 0px) * (1 - var(--p, 0))))
    scale(calc(1 + (var(--effekt-scale, 1) - 1) * (1 - var(--p, 0))));
  /* kurze Glättung wie die „Feder“ in Framer, damit nichts ruckelt */
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

/* Beim Laden: Was schon im Bild ist, zoomt langsamer (1,6 s) und läuft
   so in den Seitenübergang (0,7 s) hinein, dass man die Bewegung noch sieht */
.js .effekt-start[data-effekt],
.js .effekt-start {
  transition: transform 1.6s cubic-bezier(.22, 1, .36, 1) .1s !important;
}

@media (max-width: 809px) {
  :root { --effekt-versatz: 40px; }
}

@media (prefers-reduced-motion: reduce), print {
  .js [data-effekt],
  .js [data-effekt] img { transform: none !important; transition: none !important; }
}


/* ---------- Eigener Mauszeiger (wie in der Vorlage) ----------
   Startseite: oranger Punkt statt Mauszeiger im Inhaltsbereich.
   Über Projektkarten: großer halbtransparenter Kreis mit „Ansehen“.
   Nur mit Maus; main.js setzt .hat-cursor und positioniert den Zeiger. */

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);   /* Position setzt main.js direkt */
  transition: opacity .2s;
}

.cursor.ist-sichtbar { opacity: 1; }

.cursor__kreis {
  position: absolute;
  left: 0; top: 0;
  width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--akzent);
  transform: translate(-50%, -50%);
  transition: width .6s cubic-bezier(.34, 1.2, .64, 1), height .6s cubic-bezier(.34, 1.2, .64, 1),
              background-color .3s, opacity .3s;
}

.cursor__text {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s;
}

.cursor--ansehen .cursor__kreis {
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, .6);
  opacity: .25;
  mix-blend-mode: overlay;
}
.cursor--ansehen .cursor__text { opacity: 1; }

/* Normalen Zeiger nur ausblenden, wenn der eigene aktiv ist */
.hat-cursor [data-cursor],
.hat-cursor [data-cursor] * { cursor: none !important; }

@media (prefers-reduced-motion: reduce) {
  .cursor { transition: opacity .2s; }
}


/* ---------- Einblend-Effekte beim Scrollen (wie in der Vorlage) ----------
   main.js setzt .ist-da, sobald ein Element ins Blickfeld kommt (einmalig).
   - hoch:  gleitet 70 px von unten herein und blendet ein (Überschriften, Kontakt)
   - linie: Trennlinie fährt von links herein (Kennzahlen, Kontaktdaten)
   - maske: schwarze Fläche über dem Projektbild gleitet nach unten weg
   Ohne JavaScript oder bei „Bewegung reduzieren“ ist alles sofort da. */

.js [data-einblenden="hoch"] {
  transition: opacity .7s cubic-bezier(.44, 0, .56, 1), transform .7s cubic-bezier(.44, 0, .56, 1);
}
.js [data-einblenden="hoch"]:not(.ist-da) { opacity: 0; transform: translateY(70px); }
/* „Die Person hinter den Pixeln“: bewusst ruhiger als in der Vorlage (dort 0,7 s) */
.js .ueber__titel[data-einblenden] {
  transition-duration: 1.4s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);   /* sanft auslaufend */
}

[data-einblenden="linie"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--linie);
}
.js [data-einblenden="linie"]::after { transition: transform .8s cubic-bezier(.44, 0, .56, 1); }
.js [data-einblenden="linie"]:not(.ist-da)::after { transform: translateX(-101%); }
/* versetzt wie in der Vorlage */
.kennzahl:nth-child(2) [data-einblenden]::after,
.kennzahl:nth-child(3) [data-einblenden]::after { transition-delay: .3s; }
.kennzahl:nth-child(4) [data-einblenden]::after { transition-delay: .1s; }

[data-einblenden="maske"]::after {
  content: "";
  position: absolute;
  inset: 0 -3%;
  height: 110%;
  background: #000;
  transform: translateY(100%);   /* Endzustand: unterhalb des Bildes */
  pointer-events: none;
}
.js [data-einblenden="maske"]::after { transition: transform 1.2s cubic-bezier(.44, 0, .56, 1); }
.js [data-einblenden="maske"]:not(.ist-da)::after { transform: translateY(0); }

@media (prefers-reduced-motion: reduce), print {
  .js [data-einblenden], .js [data-einblenden]::after { transition: none !important; }
  .js [data-einblenden]:not(.ist-da) { opacity: 1 !important; transform: none !important; }
  .js [data-einblenden]:not(.ist-da)::after { transform: none !important; }
  .js [data-einblenden="maske"]::after { transform: translateY(100%) !important; }
}


/* ---------- Kleinigkeiten ---------- */

.akzent { color: var(--akzent); }
.versal { text-transform: uppercase; }
.ohne-abstand-oben { padding-top: 0; }
.abstand-oben-gross { margin-top: 96px; }
.abstand-unten { margin-bottom: 64px; }
figure, blockquote { margin: 0; }


/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 999px) {
  .ueber__oben,
  .ueber__unten,
  .skill,
  .werdegang,
  .stimme,
  .kontakt,
  .kontaktblock,
  .einleitung-zweispaltig,
  .projekt { grid-template-columns: 1fr; }

  .ueber__unten { margin-top: 64px; }
  .ueber__text { margin-left: 0; }

  .schritte, .fragen { width: 100%; }

  .projektkarte--gross { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .projektkarte--klein-1 { grid-column: 1 / 7; }
  .projektkarte--klein-2 { grid-column: 7 / 13; }

  .projektdaten { position: static; }
  .ergebnis { grid-template-columns: 1fr; }

  .kopfzeile__unten { flex-direction: column; }
  .kopfzeile__intro { margin-left: 0; }
}

@media (max-width: 809px) {
  .einstieg__oben { flex-direction: column; align-items: flex-start; }
  .social-icons { display: none; }
  .einstieg__unten { grid-template-columns: 1fr; }
  .einstieg__unten span:nth-child(n) { text-align: left; }

  .projektkarte--klein-1,
  .projektkarte--klein-2 { grid-column: 1 / -1; }

  .schritte,
  .kennzahlen,
  .fuss__spalten { grid-template-columns: 1fr; }

  .abschluss__reihe img { width: 220px; height: 116px; }
  .abschluss__wort { width: 220px; }

  .projektbilder { grid-template-columns: 1fr; gap: 32px; }
  .bildbreite { width: auto; margin-left: var(--rand); margin-right: var(--rand); }
  .slider__pfeil { width: 36px; height: 36px; margin-top: -18px; }
  .slider__pfeil--zurueck { left: 10px; }
  .slider__pfeil--weiter { right: 10px; }
  .slider__punkte { bottom: 8px; }
  .slider__punkte button { width: 16px; height: 26px; }
  .slider__punkte button::before { width: 8px; height: 8px; }
  .hochformate { grid-template-columns: 1fr 1fr; gap: 12px; }
  .projektbilder > picture:nth-child(even) img { margin-top: 0; }

  .kopfzeile__oben { flex-wrap: wrap; }
  .kopfzeile__oben .knopf { order: 3; }

  .kopf__menu { width: auto; min-width: 120px; }
  .kopf__name { font-size: 20px; }
}


/* nur für Screenreader, nicht sichtbar */
.unsichtbar {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Login-Seite (/zugang): nur das Formular, mittig ---------- */

.zugang {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 16px;
}
.zugang__inhalt { width: min(360px, 100%); }
.zugang .kopfzeile__linie { margin: 16px 0 32px; }
.zugang__formular { display: grid; gap: 16px; }
.zugang__formular input::placeholder { color: var(--text-leise); opacity: 1; }
.zugang__formular input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--linie);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-weight: 400;
  color: inherit;
}
.zugang__formular input:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: transparent; }
.zugang__formular .knopf { width: 100%; border: 0; cursor: pointer; font: inherit; }
.zugang__fehler { color: #c40000; font-weight: 500; }
