/* juliankkrueger.de
   Eine Schrift (Geist), eine starke Farbe (--marke), Tinte und Weiß.
   Alles liegt lokal, nichts kommt von fremden Servern. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --marke: #2433ff;
  --marke-tief: #1a24c2;
  --auf-marke: #ffffff;
  --auf-marke-leise: rgba(255, 255, 255, .78);
  --tinte: #0b0b10;
  --tinte-2: #16161d;
  --papier: #ffffff;
  --nebel: #f3f3f6;
  --text: #0b0b10;
  --leise: #55576a;
  --linie: #e4e4ea;
  --linie-dunkel: rgba(255, 255, 255, .14);
  --leise-dunkel: #a5a7b8;
  --rand: clamp(20px, 4.4vw, 64px);
  --breite: 1320px;
  --kopf-h: 76px;
  --aus: cubic-bezier(.16, 1, .3, 1);
  color-scheme: only light;
}
/* iPhone quer: Rand nie schmaler als die Aussparung für Kamera und Home-Balken */
@supports (padding: max(0px)) {
  :root { --rand: max(clamp(20px, 4.4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right)); }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--papier);
  color: var(--text);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--marke); color: #fff; }
:focus-visible { outline: 2px solid var(--marke); outline-offset: 4px; border-radius: 8px; }
.auf-farbe :focus-visible, .tinte :focus-visible { outline-color: #fff; }
html { scrollbar-color: var(--marke) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--marke); border-radius: 10px; border: 3px solid var(--papier); }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Icons */
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Knöpfe */
.knopf {
  --b: var(--tinte); --f: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: var(--f); font-weight: 550; font-size: 16px; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--aus), box-shadow .5s var(--aus);
}
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--h, var(--marke)); transform: translateY(101%); transition: transform .55s var(--aus);
}
.knopf:hover::before { transform: none; }
.knopf:hover { color: var(--hf, #fff); }
.knopf .ico { transition: transform .5s var(--aus); }
.knopf:hover .ico { transform: translateX(3px) rotate(-45deg); }
.knopf-weiss { --b: #fff; --f: var(--tinte); --h: var(--tinte); }
.knopf-rand { --b: transparent; --f: #fff; --h: #fff; --hf: var(--marke); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.knopf-klein { min-height: 44px; padding: 0 20px; font-size: 15px; }
.knopf[hidden] { display: none; }
@media (max-width: 359px) { .knopf { padding: 0 18px; gap: 8px; font-size: 15px; } }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--kopf-h);
  color: #fff; transition: color .4s var(--aus), background-color .4s var(--aus), transform .6s var(--aus);
}
.kopf.hell { color: var(--tinte); background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); }
.kopf.dunkel { color: #fff; background: rgba(11,11,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.kopf.weg { transform: translateY(-100%); }
.kopf.oben.gescrollt, .kopf.farbe { background: color-mix(in srgb, var(--marke) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.kopf.farbe { color: #fff; }
.kopf.farbe .knopf { --b: #fff; --f: var(--tinte); --h: var(--tinte); --hf: #fff; }
.kopf.farbe .wortmarke i { background: #fff; }
.kopf .innen { height: 100%; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wortmarke { font-weight: 650; font-size: 20px; letter-spacing: -.035em; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
@media (max-width: 400px) { .wortmarke { font-size: 17px; gap: 8px; } .kopf .knopf-klein { padding: 0 16px; font-size: 14px; } }
.wortmarke i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: block; }
.kopf.oben .wortmarke i, .kopf.hell .wortmarke i { background: var(--marke); }
.kopf.oben .wortmarke i { background: #fff; }
.kopf nav { display: flex; align-items: center; gap: 30px; }
.kopf nav a.link { font-size: 15px; font-weight: 500; opacity: .82; transition: opacity .3s; }
.kopf nav a.link:hover { opacity: 1; }
.kopf .knopf { --b: currentColor; }
.kopf.oben .knopf, .kopf.dunkel .knopf { --b: #fff; --f: var(--tinte); --h: var(--marke); }
.kopf.hell .knopf { --b: var(--tinte); --f: #fff; --h: var(--marke); }
@media (max-width: 880px) { .kopf nav a.link { display: none; } }

/* Start */
.start {
  position: relative; min-height: 100svh; min-height: max(100svh, 640px);
  background: var(--marke); color: var(--auf-marke); overflow: hidden;
  display: grid; transition: background-color .6s var(--aus);
}
.start-name {
  position: absolute; inset: calc(var(--kopf-h) + 3vh) var(--rand) auto; z-index: 1;
  font-weight: 600; letter-spacing: -.06em; line-height: .8; font-size: clamp(88px, 14vw, 300px);
  display: flex; justify-content: center; gap: .3em; align-items: baseline; pointer-events: none; user-select: none;
}
.start-name span { display: block; }
.start-name .z1, .start-name .z2 { padding-bottom: .2em; margin-bottom: -.2em; }
.start-figur {
  position: absolute; z-index: 2; left: 50%; bottom: 0; translate: -50% 0;
  height: min(92svh, 1100px); width: auto; aspect-ratio: 1930 / 3000;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  will-change: transform;
}
.start-figur img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 40px 60px rgba(5, 8, 60, .35)); }
.start-unten {
  position: relative; z-index: 3; align-self: end; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 var(--rand) clamp(28px, 5vh, 56px);
}
.start-text { max-width: 420px; }
.start-text p { max-width: min(360px, max(230px, calc(50vw - min(92svh, 1100px) * .3217 - var(--rand) - 24px))); }
.start-text p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--auf-marke-leise); }
.start-text p strong { color: #fff; font-weight: 550; }
.start-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.start-ort { display: none !important; text-align: right; font-size: 14px; line-height: 1.5; color: var(--auf-marke-leise); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.runter { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); display: grid; place-items: center; }
@media (max-width: 860px) {
  .start { min-height: 100svh; }
  .start-name { font-size: 27vw; inset: calc(var(--kopf-h) + 8px) var(--rand) auto; flex-direction: column; align-items: stretch; gap: 0; }
  .start-figur { height: min(66svh, max(280px, calc(100svh - 150px - 43.2vw))); bottom: 150px; left: 50%; translate: -50% 0; }
  .start-name .z2 { margin-left: 0; align-self: flex-end; }
  .start-unten { flex-direction: column; align-items: stretch; gap: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to bottom, transparent, var(--marke) 62px); padding-top: 70px; }
  .start-text { max-width: none; }
  .start-text p { max-width: none; }
  .start-ort { display: none; }
  .start-aktionen .knopf { flex: 1 1 auto; }
}
@media (min-width: 600px) and (max-width: 860px) { .start-aktionen .knopf { flex: 0 0 auto; } }

/* Zusage: Wörter füllen sich beim Scrollen */
.zusage { padding: clamp(110px, 18vh, 200px) 0; }
.zusage p {
  font-size: clamp(30px, 4.3vw, 66px); line-height: 1.12; font-weight: 520; letter-spacing: -.035em;
  max-width: 21ch; text-wrap: balance;
}
.zusage p .w { color: #8a8c9b; transition: color .2s; }
.zusage p .w.an { color: var(--text); }
.zusage p .w.akzent.an { color: var(--marke); }
.ohne-bewegung .zusage p .w { color: var(--text); }
.zusage-fuss { list-style: none; margin-top: 48px; display: flex; gap: 12px 28px; flex-wrap: wrap; color: var(--leise); font-size: 16px; }
.zusage-fuss li { display: inline-flex; align-items: center; gap: 10px; }
.zusage-fuss li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marke); flex: none; }
@media (max-width: 600px) { .zusage-fuss { flex-direction: column; } }

/* Arbeiten */
.arbeiten { background: var(--tinte); color: #fff; position: relative; }
.arbeiten-buehne {
  height: 100svh; min-height: 620px; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center; gap: 24px; padding: var(--kopf-h) var(--rand) 40px; max-width: 1600px; margin: 0 auto;
}
.arbeiten h2 {
  position: absolute; top: calc(var(--kopf-h) + 18px); left: var(--rand);
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; color: var(--leise-dunkel);
}
.arbeiten h2 b { color: #fff; font-weight: 550; }
.fenster { position: relative; height: min(72svh, 680px); }
.fenster canvas { position: relative; z-index: 1; width: 100% !important; height: 100% !important; }
.fenster::before {
  content: ""; position: absolute; inset: 4% 6%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--marke) 62%, transparent), color-mix(in srgb, var(--marke) 18%, transparent) 55%, transparent);
  filter: blur(18px); transition: background .6s var(--aus);
}
.fenster-ersatz { position: absolute; inset: 8% 4%; display: grid; place-items: center; }
.fenster-ersatz img { border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mit-3d .fenster-ersatz { display: none; }

.info { position: relative; padding-right: 2vw; }
.zaehler { font-size: 15px; font-weight: 500; color: var(--leise-dunkel); font-variant-numeric: tabular-nums; display: flex; gap: 6px; }
.zaehler b { color: #fff; font-weight: 600; }
.projekt-titel { margin-top: 18px; height: clamp(110px, 12vw, 190px); position: relative; overflow: hidden; }
.projekt-titel h3 {
  position: absolute; inset: 0 0 auto; font-size: clamp(40px, 4.6vw, 80px); font-weight: 600; line-height: .98;
  letter-spacing: -.045em; text-wrap: balance;
  transition: transform .9s var(--aus), opacity .6s var(--aus), filter .6s var(--aus);
}
.projekt-titel h3.raus-oben { transform: translateY(-40%); opacity: 0; filter: blur(8px); }
.projekt-titel h3.rein-unten { transform: translateY(40%); opacity: 0; filter: blur(8px); }
.projekt-art { margin-top: 10px; color: var(--leise-dunkel); font-size: 18px; min-height: 1.6em; }
.projekt-link { margin-top: 30px; }
.balken { display: grid; grid-template-columns: repeat(var(--n, 8), 1fr); gap: 6px; margin-top: 44px; max-width: 420px; }
.balken span { height: 3px; border-radius: 3px; background: var(--linie-dunkel); overflow: hidden; position: relative; }
.balken span i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.nur-mobil { display: none; }
.herkunft { margin-top: 26px; font-size: 14px; color: var(--leise-dunkel); max-width: 34ch; }

/* Liste ohne 3D (reduzierte Bewegung, kein WebGL) */
.liste-ohne { display: none; }
.ohne-pin .arbeiten-buehne { display: none; }
.ohne-pin .liste-ohne { display: block; padding: calc(var(--kopf-h) + 40px) 0 80px; }
.liste-ohne h2 { position: static; margin-bottom: 32px; }
.liste-ohne ul { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 560px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--rand) 18px; padding-inline: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand))); scroll-padding-inline: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand))); }
.liste-ohne li { scroll-snap-align: start; }
.liste-ohne img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.liste-ohne strong { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.liste-ohne span { color: var(--leise-dunkel); font-size: 15px; }

@media (max-width: 900px) {
  .arbeiten-buehne { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; align-items: stretch; gap: 0; padding-top: calc(var(--kopf-h) + 8px); padding-bottom: 28px; }
  .arbeiten h2 { position: static; font-size: 16px; }
  .nur-mobil { display: inline; }
  .fenster { height: auto; min-height: 0; }
  .projekt-titel { height: 96px; margin-top: 10px; }
  .projekt-titel h3 { font-size: clamp(34px, 9.4vw, 44px); }
  .projekt-art { font-size: 16px; margin-top: 4px; }
  .projekt-link { margin-top: 16px; }
  .balken { margin-top: 20px; }
  .herkunft { display: none; }
  .info { padding: 0; }
}

/* Handy quer und andere flache Fenster: Name in einer Zeile, Julian rechts, Bühne zweispaltig */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --kopf-h: 60px; }
  .start { min-height: max(100svh, 340px); }
  .start-name { flex-direction: row; justify-content: flex-start; gap: .28em; font-size: min(12vw, 24svh); inset: calc(var(--kopf-h) + 6px) var(--rand) auto; }
  .start-name .z2 { align-self: auto; }
  .start-figur { left: auto; right: var(--rand); translate: none; bottom: 0; height: calc(100svh - var(--kopf-h) + 10px); }
  .start-unten { flex-direction: row; align-items: flex-end; background: none; padding: 0 var(--rand) 22px; }
  .start-text { max-width: min(52vw, 440px); }
  .start-text p { font-size: 16px; max-width: none; }
  .start-aktionen { margin-top: 14px; }
  .start-aktionen .knopf { flex: 0 0 auto; min-height: 48px; }

  .arbeiten-buehne { height: 100svh; min-height: 0; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 18px; padding: calc(var(--kopf-h) + 34px) var(--rand) 14px; }
  .arbeiten h2 { position: absolute; top: calc(var(--kopf-h) + 6px); font-size: 14px; }
  .fenster { height: calc(100svh - var(--kopf-h) - 60px); }
  .projekt-titel { height: 64px; margin-top: 6px; }
  .projekt-titel h3 { font-size: 28px; }
  .projekt-art { font-size: 14px; margin-top: 0; }
  .projekt-link { margin-top: 10px; min-height: 44px; }
  .balken { margin-top: 14px; }
}

/* Große Bildschirme: mehr Breite, größeres Fenster */
@media (min-width: 1800px) and (min-height: 900px) {
  :root { --breite: 1560px; }
  .arbeiten-buehne { max-width: 1960px; }
  .fenster { height: min(74svh, 940px); }
  .start-text { max-width: 500px; }
  .start-text p { font-size: 22px; max-width: 440px; }
}

/* Leistungen */
.abschnitt { padding: clamp(100px, 15vh, 170px) 0; }
.titel { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.045em; max-width: 16ch; text-wrap: balance; }
.unter { margin-top: 20px; color: var(--leise); font-size: 19px; max-width: 46ch; }
.leistungen { list-style: none; margin-top: 64px; border-top: 1px solid var(--linie); }
.leistung { position: relative; border-bottom: 1px solid var(--linie); isolation: isolate; }
.leistung::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--marke);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--aus);
}
.leistung-innen { cursor: pointer; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 34px 0; transition: color .4s var(--aus), padding .6s var(--aus); }
.leistung h3 { font-size: clamp(26px, 3vw, 46px); font-weight: 560; letter-spacing: -.04em; line-height: 1.05; }
.leistung p { color: var(--leise); font-size: 17px; max-width: 44ch; transition: color .4s; }
.leistung .ico { width: 28px; height: 28px; transition: transform .6s var(--aus); }
@media (hover: hover) and (min-width: 901px) {
  .leistung:hover::before { clip-path: inset(0 0 0 0); }
  .leistung:hover .leistung-innen { color: #fff; padding-left: 28px; padding-right: 28px; }
  .leistung:hover p { color: var(--auf-marke-leise); }
  .leistung:hover .ico { transform: rotate(-45deg); }
}
@media (max-width: 900px) {
  .leistung-innen { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .leistung .ico { display: none; }
}

/* Ablauf */
.ablauf { background: var(--marke); color: #fff; transition: background-color .6s var(--aus); }
.ablauf .unter, .ablauf .schritt p { color: var(--auf-marke-leise); }
.schritte { list-style: none; margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.schritte::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255,255,255,.3); }
.schritte .faden { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: #fff; transform-origin: left; transform: scaleX(var(--f, 1)); }
.schritt { position: relative; padding-right: 32px; }
.schritt .nr { width: 47px; height: 47px; border-radius: 50%; background: var(--marke); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; position: relative; transition: background-color .5s, color .5s, box-shadow .5s; }
.schritt.an .nr { background: #fff; color: var(--marke); box-shadow: none; }
.schritt h3 { margin-top: 30px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 580; letter-spacing: -.03em; line-height: 1.15; }
.schritt p { margin-top: 12px; color: var(--leise); font-size: 16.5px; max-width: 30ch; }
@media (max-width: 900px) {
  .schritte { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .schritte::before, .schritte .faden { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .schritte .faden { width: 2px; transform-origin: top; transform: scaleY(var(--f, 1)); }
  .schritt { padding: 0 0 40px 76px; }
  .schritt .nr { position: absolute; left: 0; top: 0; }
  .schritt h3 { margin-top: 8px; }
}

/* Über mich */
.ueber .innen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ueber-bild { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--nebel); }
.ueber-bild img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.ueber-text p { margin-top: 22px; font-size: 19px; color: var(--leise); max-width: 46ch; }
.ueber-text p strong { color: var(--text); font-weight: 560; }
.ueber-text .titel + p { margin-top: 32px; }
.ueber-text .unterschrift { margin-top: 36px; display: flex; align-items: center; gap: 14px; font-weight: 560; }
.ueber-text .unterschrift span { width: 40px; height: 2px; background: var(--marke); }
@media (max-width: 900px) { .ueber .innen { grid-template-columns: 1fr; } .ueber-bild { max-width: 460px; } }

/* Kontakt */
.kontakt { background: var(--marke); color: #fff; padding: clamp(100px, 15vh, 170px) 0 clamp(70px, 10vh, 120px); transition: background-color .6s var(--aus); }
.kontakt .innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); }
.kontakt .titel { font-size: clamp(42px, 5.6vw, 92px); max-width: 11ch; }
.kontakt .unter { color: var(--auf-marke-leise); }
.kontakt-wege { margin-top: 40px; display: grid; gap: 10px; justify-items: start; }
.kontakt-wege a.zeile { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .3s; }
.kontakt-wege a.zeile:hover { border-color: #fff; }
.kontakt-wege a.zeile[hidden] { display: none; }

.formular { display: grid; gap: 22px; align-content: start; }
.feld { display: grid; gap: 6px; }
.feld label, .feld legend { font-size: 14px; font-weight: 500; color: var(--auf-marke-leise); }
.feld input, .feld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.45); border-radius: 0;
  padding: 10px 0 12px; font-size: 19px; color: #fff; outline: none; transition: border-color .3s;
  caret-color: #fff;
}
.feld textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.feld input::placeholder, .feld textarea::placeholder { color: rgba(255,255,255,.78); }
.feld input:focus, .feld textarea:focus { border-color: #fff; }
.feld input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }
.feld [aria-invalid="true"] { border-color: #ffd2d2; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
fieldset.feld { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); font-size: 15px; font-weight: 500; transition: background-color .3s, color .3s; }
.chip input:checked + span { background: #fff; color: var(--marke); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.senden { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.senden small { font-size: 13.5px; color: var(--auf-marke-leise); max-width: 34ch; }
.senden small a { text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.meldung { min-height: 1.5em; font-weight: 500; }
.meldung.fehler { color: #ffe1e1; }
.knopf[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 900px) { .kontakt .innen { grid-template-columns: 1fr; } .zwei { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { background: var(--tinte); color: var(--leise-dunkel); padding: 56px 0 calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.fuss .wortmarke { color: #fff; }
.fuss nav { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss a:hover { color: #fff; }

/* Sprunglink für Tastatur und Vorleser */
.sprung { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--tinte); color: #fff; font-weight: 550; transform: translateY(-160%); transition: transform .3s var(--aus); }
.sprung:focus-visible { transform: none; outline-color: #fff; }

/* Ohne JavaScript: alle Arbeiten als Wischreihe statt angepinnter Bühne */
html:not(.js) .arbeiten-buehne { display: none; }
/* Nur der wandernde Kopf der Startseite; Unterseiten haben einen festen Kopf */
html:not(.js) .kopf.oben { color: var(--tinte); background: rgba(255,255,255,.92); }
html:not(.js) .kopf.oben .wortmarke i { background: var(--marke); }
html:not(.js) .kopf.oben .knopf { --b: var(--tinte); --f: #fff; }
html:not(.js) .liste-ohne { display: block; padding: calc(var(--kopf-h) + 40px) 0 80px; }

/* Häufige Fragen */
.faq { background: var(--nebel); }
.faq .innen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-kopf { position: sticky; top: calc(var(--kopf-h) + 40px); }
.fragen { border-top: 1px solid #d9d9e1; }
.frage { border-bottom: 1px solid #d9d9e1; }
.frage summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 560; letter-spacing: -.025em; line-height: 1.25; text-wrap: pretty;
}
.ganz { white-space: nowrap; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::marker { content: ""; }
.frage summary .plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9cad6; transition: background-color .4s var(--aus), box-shadow .4s var(--aus), transform .5s var(--aus); }
.frage summary .plus::before, .frage summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform .5s var(--aus); }
.frage summary .plus::after { transform: rotate(90deg); }
.frage[open] summary .plus { background: var(--marke); box-shadow: none; color: #fff; transform: rotate(180deg); }
.frage[open] summary .plus::after { transform: rotate(0deg); }
.frage summary:hover .plus { box-shadow: inset 0 0 0 1.5px var(--marke); }
.frage p { padding: 0 64px 28px 0; color: var(--leise); font-size: 17.5px; max-width: 60ch; }
@media (max-width: 900px) {
  .faq .innen { grid-template-columns: 1fr; gap: 40px; }
  .faq-kopf { position: static; }
  .frage p { padding-right: 0; }
}

/* 404 */
.fehlt { min-height: calc(100svh - 150px); display: grid; align-items: center; background: var(--marke); color: #fff; padding: calc(var(--kopf-h) + 60px) 0 90px; }
.fehlt-nr { font-size: clamp(110px, 22vw, 300px); font-weight: 600; letter-spacing: -.06em; line-height: .8; color: rgba(255,255,255,.22); }
.fehlt h1 { margin-top: 28px; font-size: clamp(36px, 5vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; max-width: 14ch; }
.fehlt p:not(.fehlt-nr) { margin: 22px 0 36px; max-width: 46ch; font-size: 19px; color: var(--auf-marke-leise); }

/* Mauszeiger (nur Maus) */
.zeiger { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--marke); mix-blend-mode: normal; opacity: 0; transition: width .45s var(--aus), height .45s var(--aus), margin .45s var(--aus), opacity .3s, background-color .3s; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.zeiger.da { opacity: 1; }
.zeiger.gross { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.zeiger.link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: color-mix(in srgb, var(--marke) 18%, transparent); }
@media (hover: none), (pointer: coarse) { .zeiger { display: none; } }

/* Farbwahl (nur Vorschau, erscheint mit ?farbe in der Adresse) */
.farbwahl { display: none !important; }
.farbwahl-an .farbwahl { display: flex !important; }
.farbwahl { position: fixed; right: 12px; top: 50%; translate: 0 -50%; z-index: 70; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 999px; background: rgba(11,11,16,.86); color: #fff; font-size: 13px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.farbwahl span { font-size: 11px; letter-spacing: .04em; writing-mode: vertical-rl; rotate: 180deg; opacity: .8; }
.farbwahl button { width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.0); transition: box-shadow .3s, transform .3s; }
.farbwahl button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff; transform: scale(1.06); }

/* Einblenden: Grundzustand ist sichtbar, JS setzt die Startwerte */
.ohne-bewegung * { transition-duration: .01ms !important; animation-duration: .01ms !important; }

/* Rechtsseiten */
.recht { padding: calc(var(--kopf-h) + 70px) 0 110px; }
.recht .innen { max-width: 780px; }
.recht h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 40px; }
.recht h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 40px 0 10px; }
.recht p, .recht li { color: #3f4152; }
.recht a { text-decoration: underline; text-underline-offset: 3px; }
.ai-hinweis { display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.ai-hinweis img { flex: none; width: 20px; height: 20px; }

/* Überschriften steigen aus einer Maske */
.maske { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.maske > span { display: block; }
