.jk {
  --jk-anthrazit: #24262a;
  --jk-gold: #e8a93a;
  --jk-gold-hell: #d8b45c;
  --jk-gold-dunkel: #6b4f12;
  --jk-grund: #f4f1ea;
  --jk-panel: #fbfaf6;
  --jk-linie: #ddd6c6;
  --jk-hinweis: #efeadf;
  --jk-feldrand: #a8a295;
  --jk-text-2: #4a4c52;
  --jk-text-3: #5e6168;
  --jk-text-4: red;
  --jk-hell-1: #e4e0d6;
  --jk-hell-2: #c9c4b8;
  --jk-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --jk-serif: "Source Serif 4", Georgia, serif;
  --jk-display: "Bitter", Georgia, serif;

  background: var(--jk-grund);
  color: var(--jk-anthrazit);
  font-family: var(--jk-sans);
  font-size: 18px;
  line-height: 1.5;
}

.jk *,
.jk *::before,
.jk *::after {
  box-sizing: border-box;
}

.jk p,
.jk h1,
.jk h2 {
  margin: 0;
}

.jk a {
  color: var(--jk-gold-dunkel);
}
.jk a:hover {
  color: var(--jk-anthrazit);
}

.jk a:focus-visible,
.jk input:focus-visible,
.jk button:focus-visible {
  outline: 3px solid #b8902f;
  outline-offset: 2px;
}

/* ---------- Icons ---------- */
.jk-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--jk-gold-dunkel);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jk-icon--lock {
  stroke-width: 2;
}

/* ---------- Begrüßung ---------- */
.jk-hero {
  background: var(--jk-anthrazit);
  color: var(--jk-grund);
  padding: 56px 24px 64px;
}
.jk-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.jk-hero__header {
  display: flex;
  width: 100%;
}

.jk-hero__header_text {
  width: 75%;
}

.jk-hero__text {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.jk-hero__eyebrow,
.jk-hero__eyebrow_mobile{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--jk-gold-hell);
}



.jk-hero__title {
  font-family: var(--jk-display);
  font-style: italic;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  color: var(--jk-gold);
}
.jk-hero__lead {
  font-size: 21px;
  color: var(--jk-hell-1);
}
.jk-hero__sub {
  font-size: 18px;
  color: var(--jk-hell-2);
}
.jk-hero__card {
  display: flex;
}
.jk-hero__card img {
  width: 100%;
  max-width: 290px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Hauptbereich ---------- */
.jk-main {
  max-width: 960px;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 48px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.jk-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ---------- Abschnitte ---------- */
.jk-panel {
  background: var(--jk-panel);
  border: 1px solid var(--jk-linie);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jk-panel__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jk-step {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--jk-gold-dunkel);
}
.jk-panel__title {
  font-family: var(--jk-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
}
.jk-panel__intro {
  color: var(--jk-text-2);
}

/* ---------- Schritt 1: Raster ---------- */
.jk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.jk-years {
  grid-row: span 2;
  background: var(--jk-anthrazit);
  color: var(--jk-grund);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.jk-years__label {
  font-size: 16px;
  color: var(--jk-hell-2);
}
.jk-years__value {
  font-family: var(--jk-serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--jk-gold-hell);
}
.jk-info {
  border: 1px solid var(--jk-linie);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jk-info--felder {
  grid-column: span 2;
  gap: 8px;
}
.jk-info__label {
  font-size: 16px;
  color: var(--jk-text-3);
}
.jk-info__value {
  font-weight: 600;
}
.jk-info__extra {
  font-size: 16px;
}

.jk-felder {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
}
.jk-felder li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}
.jk-felder .jk-icon {
  margin-top: 3px;
}

.jk-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--jk-hinweis);
  border-radius: 12px;
  padding: 16px 20px;
}
.jk-note .jk-icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

/* ---------- Schritt 2: Felder ---------- */
.jk-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.jk-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jk-field__label {
  font-weight: 600;
  font-size: 16px;
}
.jk-optional {
  font-weight: 400;
  color: var(--jk-text-3);
}

.jk-input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--jk-feldrand);
  border-radius: 8px;
  font: inherit;
  background: #ffffff;
  color: var(--jk-anthrazit);
  width: 100%;
}
.jk-locked {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--jk-hinweis);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* ---------- Schritt 3: Antrag ---------- */
.jk-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.jk-check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--jk-anthrazit);
}
.jk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
}
.jk-button {
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 10px;
  background: var(--jk-anthrazit);
  color: var(--jk-grund);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.jk-button:hover {
  background: #3a3d42;
}
.jk-hint {
  font-size: 16px;
  color: var(--jk-text-4);
}
.jk-button-decline {
  font-size: 16px;
  color: var(--jk-text-2);
  border: 0;
  background: transparent;
  padding-top: 20px;
}

/* ---------- Bestätigung ---------- */
.jk-done {
  padding: 40px 32px;
  gap: 28px;
}
.jk-done__head {
  display: flex;
  gap: 16px;
  align-items: center;
}
.jk-done__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--jk-anthrazit);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jk-done__badge .jk-icon {
  width: 26px;
  height: 26px;
  stroke: var(--jk-gold-hell);
}
.jk-done__title {
  font-family: var(--jk-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.25;
}
.jk-done__lead {
  font-size: 19px;
}

.jk-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.jk-steps li {
  border: 1px solid var(--jk-linie);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jk-steps__no {
  font-family: var(--jk-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--jk-gold-dunkel);
}

/* ---------- Kontakt ---------- */
.jk-help {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}
.jk-help__title {
  font-size: 19px;
  font-weight: 700;
}
.jk-help p {
  color: var(--jk-text-2);
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 760px) {
  .jk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jk-years,
  .jk-info--felder {
    grid-row: auto;
    grid-column: auto;
  }
  .jk-panel {
    padding: 24px 20px;
  }
  .jk-hero {
    padding: 40px 20px 48px;
  }
  .jk-hero__title {
    font-size: 34px;
    margin-top: 20px !important;
    margin-bottom: 0px !important;
  }
  .jk-hero__header {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
  }

  .jk-hero__header_text {
    width: 100%;
  }

  .jk-hero__inner{
    gap: 8px;
  }

  .jk-hero__eyebrow{
    display: none;
  }
}
@media (min-width: 760px) {
.jk-hero__eyebrow_mobile{
  display: none;
}
}
#loader {
  border: 8px solid #6fa0be;
  border-radius: 50%;
  border-top: 8px solid #c10001;
  border-bottom: 8px solid #c10001;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}