@charset "utf-8";

.bewerbung-modul {
  --bewerbung-card: rgba(255,255,255,0);
  --bewerbung-text: #3d2225;
  --bewerbung-muted: #7a5f61;
  --bewerbung-primary: #b52f3a;
  --bewerbung-primary-dark: #8f242d;
  --bewerbung-shadow-soft: 0 6px 8px rgba(61,34,37,0.10);
  --bewerbung-radius: 24px;
  --bewerbung-danger: #b4232d;
  --bewerbung-success-bg: rgba(197,71,76,0.08);
  --bewerbung-soft-red: rgba(197,71,76,0.08);
  --bewerbung-soft-red-border: rgba(197,71,76,0.14);
  --bewerbung-red-gradient: linear-gradient(135deg, #a92631 0%, #c8424d 52%, #e16d76 100%);
  --bewerbung-image-shadow: 0 6px 8px rgba(102,102,102,0.34);
  font-size: 16px;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--bewerbung-text);
  min-height: 10vh;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.bewerbung-modul *,
.bewerbung-modul *::before,
.bewerbung-modul *::after {
  box-sizing: border-box;
  min-width: 0;
}

.bewerbung-modul a[x-apple-data-detectors],
.bewerbung-modul a[href^="tel"],
.bewerbung-modul a[href^="mailto"] {
  color: inherit !important;
  text-decoration: inherit !important;
  font-weight: inherit !important;
}

.bewerbung-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  overflow: visible;
}

.bewerbung-card {
  background: var(--bewerbung-card);
  border-radius: var(--bewerbung-radius);
  padding: 0;
  overflow: visible;
}

.bewerbung-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-intro-text {
  margin: 0 0 10px;
  color: var(--bewerbung-muted);
  line-height: 1.65;
  font-weight: 700;
  max-width: 60ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-shortcut-hint {
  margin: 0 0 22px;
  color: var(--bewerbung-primary-dark);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-main-button:focus-visible,
.bewerbung-option-button:focus-visible,
.bewerbung-job-button:focus-visible,
.bewerbung-action-button:focus-visible,
.bewerbung-submit-button:focus-visible,
.bewerbung-modul input[type="text"]:focus-visible,
.bewerbung-modul input[type="tel"]:focus-visible,
.bewerbung-modul input[type="email"]:focus-visible,
.bewerbung-modul input[type="file"]:focus-visible,
.bewerbung-modul select:focus-visible,
.bewerbung-modul textarea:focus-visible,
.bewerbung-checkbox-row input:focus-visible {
  outline: 3px solid rgba(181,47,58,0.38);
  outline-offset: 3px;
}

.bewerbung-section-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-main-button,
.bewerbung-option-button,
.bewerbung-job-button,
.bewerbung-action-button,
.bewerbung-submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
  border-radius: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease, opacity 0.24s ease, filter 0.24s ease;
  font: inherit;
  position: relative;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  appearance: none;
  -webkit-appearance: none;
}

.bewerbung-main-button:hover,
.bewerbung-option-button:hover,
.bewerbung-job-button:hover,
.bewerbung-action-button:hover,
.bewerbung-submit-button:hover {
  transform: translateY(-2px);
}

.bewerbung-main-button {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease,
    background 0.24s ease;
}

.bewerbung-main-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 30px rgba(181,47,58,0.28),
    0 6px 14px rgba(61,34,37,0.14);
  filter: brightness(1.06) saturate(1.08);
}

.bewerbung-main-button:hover .bewerbung-main-button-toggle {
  background: rgba(255,255,255,0.30);
  border-color: rgba(255,255,255,0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 6px 14px rgba(61,34,37,0.16);
  transform: scale(1.06);
}

.bewerbung-main-button {
  position: relative;
  display: block;
  text-align: left;
  padding: 18px 74px 18px 22px;
}

.bewerbung-main-button-label {
  display: block;
  line-height: 1.3;
}

.bewerbung-main-button-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.bewerbung-main-button:hover .bewerbung-main-button-toggle {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.30);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 4px 10px rgba(61,34,37,0.10);
}

.bewerbung-main-button[aria-expanded="true"] .bewerbung-main-button-toggle {
  transform: rotate(180deg);
}

.bewerbung-main-button-toggle .bewerbung-material-icons {
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

@media (max-width: 640px) {
  .bewerbung-main-button {
    padding: 16px 66px 16px 18px;
  }

  .bewerbung-main-button-toggle {
    right: 14px;
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  .bewerbung-main-button-toggle .bewerbung-material-icons {
    font-size: 22px;
  }
}


.bewerbung-main-button,
.bewerbung-action-button,
.bewerbung-submit-button {
  color: white;
  -webkit-text-fill-color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  background: var(--bewerbung-red-gradient);
  box-shadow: 0 10px 20px rgba(181,47,58,0.16);
}

.bewerbung-main-button {
  position: relative;
  display: block;
  text-align: left;
  padding: 18px 74px 18px 22px;
}

.bewerbung-action-button,
.bewerbung-submit-button {
  padding: 18px 22px;
}

.bewerbung-option-button,
.bewerbung-job-button {
  color: var(--bewerbung-text);
  -webkit-text-fill-color: var(--bewerbung-text);
}

.bewerbung-submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.bewerbung-main-button:focus-visible,
.bewerbung-option-button:focus-visible,
.bewerbung-job-button:focus-visible,
.bewerbung-action-button:focus-visible,
.bewerbung-submit-button:focus-visible,
.bewerbung-modul input[type="text"]:focus-visible,
.bewerbung-modul input[type="tel"]:focus-visible,
.bewerbung-modul input[type="email"]:focus-visible,
.bewerbung-modul input[type="file"]:focus-visible,
.bewerbung-modul select:focus-visible,
.bewerbung-modul textarea:focus-visible,
.bewerbung-checkbox-row input:focus-visible {
  outline: 3px solid rgba(181,47,58,0.45);
  outline-offset: 2px;
}

.bewerbung-stack {
  display: grid;
  gap: 14px;
}

.bewerbung-option-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  overflow: visible;
  min-width: 0;
}

.bewerbung-reveal {
  margin-top: 18px;
  padding: 6px;
  display: grid;
  gap: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.7s ease, opacity 0.45s ease, transform 0.55s ease, margin-top 0.45s ease;
  background: #fff;
}

.bewerbung-reveal.show {
  max-height: 9000px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.bewerbung-option-button,
.bewerbung-job-button,
.bewerbung-form-shell,
.bewerbung-summary-box,
.bewerbung-placeholder-box {
  padding: 20px 22px;
  border: 1px solid rgba(181,47,58,0.12);
  border-radius: 22px;
}

.bewerbung-option-button,
.bewerbung-job-button {
  background: linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  box-shadow: 0 6px 14px rgba(61,34,37,0.09);
}

.bewerbung-option-button.selected {
  background: linear-gradient(135deg, rgba(181,47,58,0.34), rgba(223,102,112,0.26));
  border-color: rgba(181,47,58,0.52);
  box-shadow: inset 5px 0 0 var(--bewerbung-primary), 0 12px 22px rgba(61,34,37,0.18);
}

.bewerbung-job-button.selected {
  background: linear-gradient(135deg, rgba(181,47,58,0.20), rgba(223,102,112,0.14));
  border-color: rgba(181,47,58,0.34);
  box-shadow: inset 4px 0 0 var(--bewerbung-primary), 0 10px 18px rgba(61,34,37,0.15);
}

.bewerbung-option-title,
.bewerbung-job-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  min-width: 0;
}

.bewerbung-option-title strong,
.bewerbung-job-title strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  line-height: 1.25;
  position: relative;
  top: 2px;
  color: var(--bewerbung-text);
  -webkit-text-fill-color: var(--bewerbung-text);
}

.bewerbung-option-desc,
.bewerbung-job-desc {
  color: var(--bewerbung-muted);
  -webkit-text-fill-color: var(--bewerbung-muted);
}

.bewerbung-option-icon,
.bewerbung-job-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(181,47,58,0.18);
  color: var(--bewerbung-primary);
  -webkit-text-fill-color: var(--bewerbung-primary);
  box-shadow: 0 4px 10px rgba(61,34,37,0.08);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bewerbung-option-button:hover .bewerbung-option-icon,
.bewerbung-job-button:hover .bewerbung-job-icon,
.bewerbung-option-button.selected .bewerbung-option-icon,
.bewerbung-job-button.selected .bewerbung-job-icon,
.bewerbung-option-button:active .bewerbung-option-icon,
.bewerbung-job-button:active .bewerbung-job-icon {
  background: #b52f3a;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 12px rgba(181,47,58,0.18);
}

.bewerbung-material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  user-select: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.bewerbung-option-desc,
.bewerbung-job-desc,
.bewerbung-summary-muted,
.bewerbung-captcha-note,
.bewerbung-checkbox-text,
.bewerbung-placeholder-text {
  display: block;
  color: var(--bewerbung-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.bewerbung-inline-slot {
  display: none;
  width: 100%;
  margin-top: 18px;
  background: #fff;
  border-radius: 22px;
  overflow: visible;
}

.bewerbung-inline-slot.active {
  display: block;
}

.bewerbung-nested-panel,
.bewerbung-form-panel,
.bewerbung-overview-panel {
  display: none;
  background: #fff;
  overflow: visible;
}

.bewerbung-nested-panel.show,
.bewerbung-form-panel.show,
.bewerbung-overview-panel.show {
  display: grid;
  gap: 16px;
}

.bewerbung-form-shell,
.bewerbung-summary-box,
.bewerbung-placeholder-box {
  background: #ffffff;
  box-shadow: var(--bewerbung-shadow-soft);
}

.bewerbung-form-shell {
  margin-top: 8px;
  padding: 24px;
}

.bewerbung-placeholder-box {
  margin-top: 8px;
}

.bewerbung-form-intro {
  margin-top: 6px;
  margin-bottom: 20px;
}

.bewerbung-image-box {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(61,34,37,0.08);
  background: #ffffff;
  box-shadow: var(--bewerbung-image-shadow);
  min-height: 220px;
  margin-bottom: 12px;
}

.bewerbung-image-box img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
}

.bewerbung-field-note {
  font-size: 0.85rem;
  color: var(--bewerbung-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bewerbung-action-button {
  margin-top: 10px;
}

.bewerbung-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.bewerbung-inline-grid-2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  min-width: 0;
}

.bewerbung-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bewerbung-field.bewerbung-field-full {
  grid-column: 1 / -1;
}

.bewerbung-field-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--bewerbung-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-modul input[type="text"],
.bewerbung-modul input[type="tel"],
.bewerbung-modul input[type="email"],
.bewerbung-modul select,
.bewerbung-modul textarea {
  width: 100%;
  border: 1.5px solid rgba(181,47,58,0.46);
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  color: var(--bewerbung-primary-dark);
  -webkit-text-fill-color: var(--bewerbung-primary-dark);
  caret-color: var(--bewerbung-primary);
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  max-width: 100%;
  box-shadow: inset 0 1px 1px rgba(181,47,58,0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.bewerbung-modul input[type="text"]:hover,
.bewerbung-modul input[type="tel"]:hover,
.bewerbung-modul input[type="email"]:hover,
.bewerbung-modul select:hover,
.bewerbung-modul textarea:hover {
  border-color: rgba(181,47,58,0.68);
  background: #fff9fa;
}

.bewerbung-modul textarea {
  min-height: 140px;
  resize: vertical;
}

.bewerbung-modul select {
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--bewerbung-primary-dark) 50%),
    linear-gradient(135deg, var(--bewerbung-primary-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.bewerbung-modul select:hover {
  background-color: #fff4f6;
}

.bewerbung-modul select:focus,
.bewerbung-modul input[type="text"]:focus,
.bewerbung-modul input[type="tel"]:focus,
.bewerbung-modul input[type="email"]:focus,
.bewerbung-modul textarea:focus {
  outline: none;
  border-color: rgba(181,47,58,0.92);
  background: #fffafb;
  box-shadow: 0 0 0 3px rgba(181,47,58,0.16);
  transform: translateY(-1px);
}

.bewerbung-modul select::-ms-expand {
  display: none;
}

.bewerbung-modul select option {
  background: #fffdfd;
  color: var(--bewerbung-primary-dark);
}

.bewerbung-modul select option:checked {
  background: #fdecef;
  color: var(--bewerbung-primary-dark);
}

.bewerbung-modul input[type="text"]::placeholder,
.bewerbung-modul input[type="tel"]::placeholder,
.bewerbung-modul input[type="email"]::placeholder,
.bewerbung-modul textarea::placeholder {
  color: rgba(143,36,45,0.55);
  -webkit-text-fill-color: rgba(143,36,45,0.55);
}

.bewerbung-summary-list {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  min-width: 0;
}

.bewerbung-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(61,34,37,0.03);
  border: 1px solid rgba(61,34,37,0.06);
  min-width: 0;
}

.bewerbung-summary-row strong,
.bewerbung-summary-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.bewerbung-summary-row span {
  text-align: right;
}

.bewerbung-captcha-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(61,34,37,0.03);
  border: 1px solid rgba(61,34,37,0.06);
}

.bewerbung-captcha-task {
  font-weight: 700;
  font-size: 1rem;
  color: var(--bewerbung-primary-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 2px 0;
  min-width: 0;
}

.bewerbung-checkbox-row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--bewerbung-primary);
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
}

.bewerbung-checkbox-text a {
  color: var(--bewerbung-primary);
  font-weight: 700;
  text-decoration: none;
}

.bewerbung-checkbox-text a:hover {
  text-decoration: underline;
}

.bewerbung-result {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(61,34,37,0.08);
  box-shadow: 0 6px 14px rgba(61,34,37,0.08);
  color: var(--bewerbung-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-result.show {
  display: block;
}

.bewerbung-error {
  display: none;
  margin-top: 6px;
  color: var(--bewerbung-danger);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bewerbung-soft-red);
  border: 1px solid var(--bewerbung-soft-red-border);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-error:focus,
.bewerbung-error:focus-visible {
  outline: 3px solid rgba(181,47,58,0.42);
  outline-offset: 2px;
  border-color: rgba(181,47,58,0.72);
  box-shadow: 0 0 0 3px rgba(181,47,58,0.14);
}

.bewerbung-error.show {
  display: block;
}

.bewerbung-success-note {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bewerbung-success-bg);
  border: 1px solid rgba(197,71,76,0.12);
  color: var(--bewerbung-primary-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-success-note.show {
  display: block;
}

.bewerbung-success-panel {
  display: none;
  margin-top: 16px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f9 100%);
  border: 1px solid rgba(181,47,58,0.14);
  box-shadow: 0 10px 20px rgba(61,34,37,0.08);
  gap: 16px;
}

.bewerbung-success-panel.show {
  display: grid;
  animation: bewerbungFadeIn 0.28s ease;
}

.bewerbung-success-headline {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--bewerbung-text);
}

.bewerbung-success-text {
  margin: 0;
  line-height: 1.65;
  color: var(--bewerbung-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-success-image-box {
  margin: 0;
  min-height: 0;
}

.bewerbung-success-image-box img {
  height: 200px;
  object-fit: cover;
  object-position: center center;
}

.bewerbung-success-actions {
  display: grid;
  gap: 10px;
}

.bewerbung-close-hint {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bewerbung-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bewerbung-close-button {
  margin-top: 0;
}

@keyframes bewerbungFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bewerbung-upload-field {
  gap: 10px;
}

.bewerbung-modul input[type="file"].input-attachment {
  width: 100%;
  border: 1.5px solid rgba(181,47,58,0.46);
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  color: var(--bewerbung-primary-dark);
  box-shadow: inset 0 1px 1px rgba(181,47,58,0.03);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease;
}

.bewerbung-modul input[type="file"].input-attachment:hover {
  border-color: rgba(181,47,58,0.68);
  background: #fff9fa;
}

.bewerbung-modul input[type="file"].input-attachment:focus,
.bewerbung-modul input[type="file"].input-attachment:focus-visible {
  outline: none;
  border-color: rgba(181,47,58,0.92);
  background: #fffafb;
  box-shadow: 0 0 0 3px rgba(181,47,58,0.16);
  transform: translateY(-1px);
}

.bewerbung-modul input[type="file"].input-attachment::file-selector-button {
  margin-right: 14px;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: var(--bewerbung-red-gradient);
  cursor: pointer;
}

.bewerbung-upload-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bewerbung-upload-note,
.bewerbung-upload-selected {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--bewerbung-muted);
}

.bewerbung-upload-selected {
  color: var(--bewerbung-primary-dark);
  font-weight: 700;
}

.bewerbung-upload-remove-all,
.bewerbung-upload-card-remove {
  border: 1px solid rgba(181,47,58,0.18);
  background: #ffffff;
  color: var(--bewerbung-primary-dark);
  border-radius: 14px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.bewerbung-upload-remove-all:hover,
.bewerbung-upload-card-remove:hover {
  background: #fff4f6;
  border-color: rgba(181,47,58,0.36);
  transform: translateY(-1px);
}

.bewerbung-upload-remove-all:focus,
.bewerbung-upload-remove-all:focus-visible,
.bewerbung-upload-card-remove:focus,
.bewerbung-upload-card-remove:focus-visible {
  outline: 3px solid rgba(181,47,58,0.16);
  outline-offset: 2px;
}

.bewerbung-upload-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.bewerbung-upload-card {
  width: 118px;
  min-width: 118px;
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(181,47,58,0.10);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f9 100%);
  box-shadow:
    0 10px 22px rgba(61,34,37,0.12),
    0 3px 8px rgba(181,47,58,0.10);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.bewerbung-upload-card:hover {
  transform: translateY(-2px);
  border-color: rgba(181,47,58,0.22);
  box-shadow:
    0 14px 28px rgba(61,34,37,0.16),
    0 6px 14px rgba(181,47,58,0.12);
}

.bewerbung-upload-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,244,245,0.95) 100%);
  border: 1px solid rgba(61,34,37,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 4px 10px rgba(61,34,37,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bewerbung-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bewerbung-upload-thumb-file {
  color: var(--bewerbung-primary);
  background: linear-gradient(180deg, rgba(181,47,58,0.08) 0%, rgba(181,47,58,0.04) 100%);
}

.bewerbung-upload-thumb-file .bewerbung-material-icons {
  font-size: 28px;
}

.bewerbung-upload-card-body {
  display: grid;
  gap: 6px;
}

.bewerbung-upload-name {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bewerbung-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.bewerbung-upload-file-meta {
  font-size: 0.72rem;
  color: var(--bewerbung-muted);
  line-height: 1.2;
}

.bewerbung-upload-card-remove {
  width: 100%;
  padding: 7px 8px;
  border-radius: 10px;
  font-size: 0.73rem;
  text-align: center;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 6px rgba(61,34,37,0.06);
}

.bewerbung-required-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--bewerbung-primary-dark);
}

.bewerbung-required-star {
  color: var(--bewerbung-danger);
  font-weight: 800;
}

.bewerbung-field.is-invalid .bewerbung-field-label {
  color: var(--bewerbung-danger);
}

.bewerbung-modul input[type="text"].is-invalid,
.bewerbung-modul input[type="tel"].is-invalid,
.bewerbung-modul input[type="email"].is-invalid,
.bewerbung-modul select.is-invalid,
.bewerbung-modul textarea.is-invalid {
  border-color: rgba(180, 35, 45, 0.95) !important;
  background: #fff6f7 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 45, 0.14) !important;
}

.bewerbung-checkbox-row.is-invalid {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(180, 35, 45, 0.22);
  background: rgba(197, 71, 76, 0.08);
}

.bewerbung-checkbox-row.is-invalid .bewerbung-checkbox-text {
  color: var(--bewerbung-danger);
}


@media (prefers-reduced-motion: reduce) {
  .bewerbung-modul *,
  .bewerbung-modul *::before,
  .bewerbung-modul *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 640px) {
  .bewerbung-modul {
    padding: 0;
  }

  .bewerbung-card {
    padding: 20px;
  }

  .bewerbung-main-button,
  .bewerbung-option-button,
  .bewerbung-job-button,
  .bewerbung-action-button,
  .bewerbung-submit-button,
  .bewerbung-form-shell,
  .bewerbung-summary-box,
  .bewerbung-placeholder-box {
    border-radius: 18px;
  }

  .bewerbung-option-button,
  .bewerbung-job-button,
  .bewerbung-form-shell,
  .bewerbung-summary-box,
  .bewerbung-placeholder-box {
    padding: 18px;
  }

  .bewerbung-form-grid,
  .bewerbung-inline-grid-2 {
    grid-template-columns: 1fr;
  }

  .bewerbung-summary-row {
    flex-direction: column;
    gap: 6px;
  }

  .bewerbung-summary-row span {
    text-align: left;
  }

  .bewerbung-image-box {
    min-height: 0;
  }

  .bewerbung-image-box img {
    height: 145px;
    object-position: center center;
  }

.bewerbung-main-button {
  padding: 16px 66px 16px 18px;
}

.bewerbung-action-button,
.bewerbung-submit-button {
  padding: 16px 18px;
}

  .bewerbung-option-title strong,
  .bewerbung-job-title strong {
    top: 1px;
  }

  .bewerbung-success-panel {
    border-radius: 18px;
    padding: 18px;
  }

  .bewerbung-success-image-box img {
    height: 145px;
  }

  .bewerbung-upload-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .bewerbung-upload-remove-all {
    width: 100%;
  }

  .bewerbung-modul input[type="file"].input-attachment::file-selector-button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .bewerbung-upload-preview-list {
    gap: 9px;
  }

  .bewerbung-upload-card {
    width: 104px;
    min-width: 104px;
    padding: 8px;
    border-radius: 14px;
  }

  .bewerbung-upload-thumb {
    border-radius: 10px;
  }

  .bewerbung-upload-card-remove {
    font-size: 0.7rem;
    padding: 6px 7px;
  }
}

@media (max-width: 420px) {
  .bewerbung-image-box img {
    height: 128px;
  }

  .bewerbung-success-image-box img {
    height: 128px;
  }
}