/* Kontakt + Presse. Baut auf basis.css, unterseiten.css und werkstatt.css auf. */

/* ---------- Kontaktwege ---------- */
.jk-wege { margin: 40px 0 0; padding: 0; list-style: none; }
.jk-wege a { display: grid; grid-template-columns: 110px 1fr auto; align-items: baseline; gap: 16px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.jk-wege small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.jk-wege span { font-family: var(--font-serif); font-size: 24px; line-height: 1.1; transition: color .2s; }
.jk-wege a:hover span, .jk-wege a:hover .jk-arr { color: var(--rust); }

/* Zeilenlisten (Kontaktwege, Pressekits): Haarlinien als eigene Striche, die beim Einblenden
   wie mit dem Bleistift von links gezogen werden; Hover/Fokus setzt links eine kleine Rost-Marke */
.jk-wege li, .jk-kits li { position: relative; }
.jk-wege li::before, .jk-kits li::before, .jk-wege li:last-child::after, .jk-kits li:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: 0 50%; pointer-events: none; }
.jk-wege li:last-child::after, .jk-kits li:last-child::after { top: auto; bottom: 0; }
.jk-bewegung .jk-wege > .jk-auf::before, .jk-bewegung .jk-kits > .jk-auf::before, .jk-bewegung .jk-wege > .jk-auf:last-child::after, .jk-bewegung .jk-kits > .jk-auf:last-child::after { transform: scaleX(0); }
.jk-bewegung .jk-wege > .ist-da::before, .jk-bewegung .jk-kits > .ist-da::before { animation: jk-bleistift 1.1s var(--ease-inout) calc(var(--jk-verz, 0s) + .1s) both; }
.jk-bewegung .jk-wege > .ist-da:last-child::after, .jk-bewegung .jk-kits > .ist-da:last-child::after { animation: jk-bleistift 1.1s var(--ease-inout) calc(var(--jk-verz, 0s) + .35s) both; }
@keyframes jk-bleistift { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Presse: die Liste steht im Seitenkopf (wird nie versteckt) – dort ziehen die Striche nach dem Laden nacheinander */
@media (prefers-reduced-motion: no-preference) {
  .jk-js .jk-pk-kopf .jk-kits li::before, .jk-js .jk-pk-kopf .jk-kits li:last-child::after { animation: jk-bleistift 1.1s var(--ease-inout) .3s both; }
  .jk-js .jk-pk-kopf .jk-kits li:nth-child(2)::before { animation-delay: .42s; }
  .jk-js .jk-pk-kopf .jk-kits li:nth-child(3)::before { animation-delay: .54s; }
  .jk-js .jk-pk-kopf .jk-kits li:nth-child(n+4)::before { animation-delay: .66s; }
  .jk-js .jk-pk-kopf .jk-kits li:last-child::after { animation-delay: .9s; }
  html.jk-laedt .jk-pk-kopf .jk-kits li::before, html.jk-laedt .jk-pk-kopf .jk-kits li::after { animation-play-state: paused; }
}
.jk-wege a > :first-child, .jk-kits a > :first-child { position: relative; transition: translate .4s var(--ease-out); }
.jk-wege a > :first-child::before, .jk-kits a > :first-child::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 2px; margin: -1px 8px 0 0; background: var(--rust); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
.jk-kits a > :first-child::before { top: .5em; }
.jk-wege a:hover > :first-child, .jk-wege a:focus-visible > :first-child, .jk-kits a:hover > :first-child, .jk-kits a:focus-visible > :first-child { translate: 18px 0; }
.jk-wege a:hover > :first-child::before, .jk-wege a:focus-visible > :first-child::before, .jk-kits a:hover > :first-child::before, .jk-kits a:focus-visible > :first-child::before { transform: scaleX(1); }
.jk-wege a:focus-visible, .jk-kits a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.jk-rund { display: flex; gap: 12px; margin-top: 32px; }
.jk-rund a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.jk-rund a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: border-color .2s, color .2s; }
.jk-rund a:hover { border-color: var(--rust); color: var(--rust); }
.jk-rund svg { width: 16px; height: 16px; }

/* ---------- Formular ---------- */
/* Keine Box: eine Haarlinie oben, die Felder stehen frei auf dem Papier */
.jk-formular { padding: 32px 0 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 901px) { .jk-zweispalt > .jk-formular { padding-top: 0; border-top: 0; } } /* neben „Direkter Draht“: Eyebrows auf einer Höhe */
.jk-formular .jk-eyebrow { margin-bottom: 26px; }
.jk-pflicht { margin: -6px 0 22px; font-size: 13px; color: var(--ink-muted); }
.jk-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.jk-feld--breit { grid-column: 1 / -1; }
.jk-feld label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.jk-feld input, .jk-feld textarea { display: block; width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font: 16px/1.5 var(--font-sans); color: var(--ink); transition: border-color .2s; }
.jk-feld textarea { min-height: 140px; resize: vertical; }
.jk-feld input::placeholder, .jk-feld textarea::placeholder { color: #8a8479; }
.jk-feld input:focus, .jk-feld textarea:focus { outline: none; border-bottom-color: var(--rust); }
.jk-feld input:focus-visible, .jk-feld textarea:focus-visible { box-shadow: 0 2px 0 0 var(--rust); }
/* Fehler erst nach dem ersten Versuch zeigen: Rost-Linie statt nur Browser-Blase */
.jk-feld input:user-invalid, .jk-feld textarea:user-invalid { border-bottom-color: var(--rust); border-bottom-style: dashed; }
.jk-feld:has(:user-invalid) label { color: var(--rust); }
.jk-haken { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.jk-haken input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--rust); }
.jk-haken input:user-invalid { outline: 1px dashed var(--rust); outline-offset: 2px; }
.jk-haken a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 3px; }
.jk-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jk-formular .jk-btn { position: relative; margin-top: 30px; }
.jk-formular .jk-btn[disabled] { opacity: .55; cursor: wait; }

/* Senden: ein kleines Metronom-Pendel schlägt im Knopf, der Knopf behält seine Breite */
.jk-formular .jk-btn.ist-am-senden { opacity: 1; background: var(--ink-soft); border-color: var(--ink-soft); }
.ist-am-senden .jk-knopf__text { visibility: hidden; }
.jk-senden { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 10px; }
.ist-am-senden .jk-senden { display: flex; }
.jk-metronom { width: 14px; height: 18px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.jk-metronom__arm { transform-box: view-box; transform-origin: 7px 15px; rotate: -18deg; }
.jk-metronom__arm circle { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: no-preference) { .ist-am-senden .jk-metronom__arm { animation: jk-pendel .5s cubic-bezier(.45, 0, .55, 1) infinite alternate; } }
@keyframes jk-pendel { from { rotate: -24deg; } to { rotate: 24deg; } }

/* Meldungen; „Angekommen.“ bekommt einen Eingangsstempel der Werkstatt, der einmal aufstempelt */
.jk-meldung--ok { display: flex; align-items: center; gap: 20px; margin-top: 28px; color: var(--ink); }
.jk-meldung[hidden] { display: none; }
.jk-meldung--ok:focus { outline: none; }
.jk-meldung--ok:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.jk-meldung__text { margin: 0; }
.jk-meldung__titel { display: block; font-style: normal; font-size: 34px; line-height: 1; }
.jk-meldung--fehler { color: var(--rust); }
.jk-meldung a { color: inherit; }
.jk-eingang { position: relative; flex: none; display: grid; place-content: center; gap: 4px; width: 100px; height: 100px; border: 2.5px solid currentColor; border-radius: 50%; outline: 1px solid currentColor; outline-offset: -7px; color: var(--rust); font-style: normal; text-align: center; line-height: 1; rotate: -9deg; mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 1.85'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23f)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 1.85'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23f)'/%3E%3C/svg%3E"); }
.jk-eingang b { font: 700 8px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; padding-left: .16em; }
.jk-eingang i { font: italic 24px/1 var(--font-serif); }
@media (prefers-reduced-motion: no-preference) {
  .jk-meldung--ok:not([hidden]) .jk-eingang { animation: jk-stempeln .55s cubic-bezier(.3, .7, .4, 1) .15s both; }
  .jk-meldung--ok:not([hidden]) .jk-meldung__text { animation: jk-meldung-auf .6s var(--ease-out) both; }
}
@keyframes jk-meldung-auf { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes jk-stempeln { 0% { opacity: 0; scale: 1.6; rotate: -1deg; } 55% { opacity: 1; scale: .95; rotate: -10deg; } 78% { scale: 1.02; } 100% { opacity: 1; scale: 1; rotate: -9deg; } }

/* ---------- Presse: Übersicht ---------- */
.jk-kits { margin: 0; padding: 0; list-style: none; }
.jk-kits a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: baseline; gap: 12px 32px; padding: 26px 0; color: var(--ink); text-decoration: none; }
.jk-kits__name { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 42px); line-height: 1; transition: color .2s; }
.jk-kits__name em { font-style: italic; }
.jk-kits__art { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.jk-kits__los { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 2px; border-bottom: 1px solid var(--rust); }
.jk-kits a:hover .jk-kits__name { color: var(--rust); }

/* ---------- Pressekit ---------- */
.jk-pk-laden { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; }
.jk-pk-laden small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.jk-pk-booking { margin: 22px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.jk-pk-booking a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rust); }
.jk-pk-titelbild { margin-top: 56px; max-width: 1000px; }

.jk-reihen { margin: 48px 0 0; border-bottom: 1px solid var(--line); }
.jk-reihe { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.jk-reihe__titel { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); padding-top: 6px; }
.jk-kopiertext { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); max-width: 46em; white-space: pre-line; }
.jk-quelle { margin: 12px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.jk-kopieren { margin-top: 18px; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--rust); background: none; font: 700 11px/1.5 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.jk-kopieren:hover { color: var(--rust); }
.jk-besetzung { margin: 0; padding: 0; list-style: none; }
.jk-besetzung li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 6px 0; }
.jk-besetzung li + li { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 6px; }
.jk-besetzung strong { font-family: var(--font-serif); font-weight: 400; font-size: 24px; }
.jk-besetzung span { font-size: 13px; color: var(--ink-muted); text-align: right; }

.jk-fotoraster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; margin: 48px 0 0; padding: 0; list-style: none; align-items: end; }
.jk-fotoraster img { display: block; width: 100%; height: auto; }
.jk-fotoraster__fuss { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.jk-fotoraster__fuss .jk-bildtext { margin: 0; }
.jk-fotoraster__fuss a, .jk-dl a { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--rust); }
.jk-fotoraster__fuss a:hover, .jk-dl a:hover { color: var(--rust); }

.jk-technik { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 110px); margin-top: 48px; align-items: start; }
.jk-technik + .jk-technik { margin-top: 72px; }
.jk-technik h3 { margin: 0 0 18px; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 30px; }
.jk-technik .jk-labelreihe { margin-top: 26px; }

.jk-downloads { margin: 48px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.jk-downloads li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 8px 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.jk-downloads strong { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.jk-downloads small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.jk-dl { display: flex; gap: 18px; justify-content: flex-end; }

@media (max-width: 900px) {
  .jk-kits a, .jk-downloads li { grid-template-columns: 1fr; }
  .jk-dl { justify-content: flex-start; }
  .jk-reihe { grid-template-columns: 1fr; }
  .jk-fotoraster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jk-technik { grid-template-columns: 1fr; }
  /* Kontakt: Querformat-Bild schließt bündig mit der Textkante ab */
  .jk-seitenkopf__bild--breit { max-width: none; }
}
@media (max-width: 767px) {
  /* Kontakt: Himmel kürzen, damit Jonny auf der Düne größer wird */
  .jk-seitenkopf__bild--breit img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 100%; }
}
@media (max-width: 600px) {
  .jk-felder { grid-template-columns: 1fr; }
  .jk-fotoraster { grid-template-columns: 1fr; }
  .jk-wege a { grid-template-columns: 1fr auto; }
  .jk-wege small { grid-column: 1 / -1; }
  .jk-formular { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .jk-wege a > :first-child, .jk-kits a > :first-child, .jk-wege a > :first-child::before, .jk-kits a > :first-child::before { transition: none; }
}
