* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #172033;
}

.seite {
  padding: 28px;
}

.logo-bereich {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

button {
  border: 1px solid #dbe3ef;
  background: white;
  color: #172033;
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #eaf1ff;
  color: #2563eb;
}

select {
  width: 100%;
  padding: 11px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: white;
}

.inhaltsbereich {
  min-width: 0;
}

.suchbereich {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.suchbereich h2 {
  margin-top: 0;
}

.suchbereich input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  font-size: 16px;
}

.anzeigenliste {
  display: grid;
  gap: 18px;
}

.anzeige h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.anzeige p {
  margin: 8px 0;
  color: #334155;
}

.firma {
  margin: 0 0 12px 0;
  color: #64748b;
  font-weight: bold;
}

.beschreibung {
  margin: 0 0 14px 0;
  color: #334155;
  line-height: 1.45;
}

.suchinfo {
  margin: 12px 0 0 0;
  color: #64748b;
  font-weight: bold;
}

.detail-hintergrund {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  padding: 24px;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.detail-hintergrund.offen {
  display: flex;
}

.detail-box {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.25);
  position: relative;
}

.detail-schliessen {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dbe3ef;
  background: white;
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
}

.detail-schliessen:hover {
  background: #f1f5f9;
  color: #172033;
}

.detail-box h2 {
  margin: 0 48px 6px 0;
  font-size: 26px;
}

.detail-firma {
  margin: 0 0 20px 0;
  color: #64748b;
  font-weight: bold;
}

.detail-infos {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.detail-infos p {
  margin: 8px 0;
}

.detail-beschreibung {
  line-height: 1.55;
}

.detail-beschreibung h3 {
  margin-top: 0;
}

.benutzer-status {
  margin: 0;
  color: #64748b;
  font-weight: bold;
  font-size: 14px;
}

.logout-button {
  display: none;
  color: #b91c1c;
  border-color: #fecaca;
}

.logout-button.sichtbar {
  display: inline-block;
}

.login-hintergrund {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  padding: 24px;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.login-hintergrund.offen {
  display: flex;
}

.login-box {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: white;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.25);
  position: relative;
}

.login-box.registrierung-aktiv {
  max-width: 760px;
}

.login-schliessen {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #dbe3ef;
  background: white;
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
}

.login-schliessen:hover {
  background: #f1f5f9;
  color: #172033;
}

.login-box h2 {
  margin: 0 48px 8px 0;
  font-size: 26px;
}

.login-hinweis {
  color: #64748b;
  margin-bottom: 16px;
}

.demo-zugaenge {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
  font-size: 14px;
}

.demo-zugaenge p {
  margin: 6px 0;
}

#loginFormular {
  display: grid;
  gap: 14px;
}

#loginFormular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

#loginFormular input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  font-size: 16px;
}

.login-fehler {
  display: none;
  margin: 0;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 10px;
  font-weight: bold;
}

.login-fehler.sichtbar {
  display: block;
}

.login-submit {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.login-submit:hover {
  background: #1d4ed8;
  color: white;
}

.versteckt {
  display: none !important;
}

.unternehmensbereich {
  max-width: 1200px;
  margin: 24px auto 0 auto;
}

.bereich-kopf {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bereich-kopf h2 {
  margin: 0 0 6px 0;
  font-size: 26px;
}

.bereich-kopf p {
  margin: 0;
  color: #64748b;
}

.unternehmens-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

.formular-box,
.eigene-anzeigen-box {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.formular-box h3,
.eigene-anzeigen-box h3 {
  margin-top: 0;
}

#anzeigenFormular {
  display: grid;
  gap: 14px;
}

#anzeigenFormular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

#anzeigenFormular input,
#anzeigenFormular select,
#anzeigenFormular textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  font-size: 16px;
}

#anzeigenFormular textarea {
  min-height: 110px;
  resize: vertical;
}

.anzeige-speichern-button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.anzeige-speichern-button:hover {
  background: #1d4ed8;
  color: white;
}

.eigene-anzeige h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.eigene-anzeige p {
  margin: 6px 0;
  color: #334155;
}

.status {
  display: inline-block;
  margin-top: 8px;
  background: #fff7ed;
  color: #92400e;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: bold;
  font-size: 14px;
}

.formular-buttons {
  display: grid;
  gap: 10px;
}

.bearbeitung-abbrechen-button {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.bearbeitung-abbrechen-button:hover {
  background: #eaf1ff;
  color: #2563eb;
}

.bearbeiten-button {
  background: #2563eb;
  color: white;
  border: none;
}

.bearbeiten-button:hover {
  background: #1d4ed8;
  color: white;
}

.loeschen-button {
  background: #b91c1c;
  color: white;
  border: none;
}

.loeschen-button:hover {
  background: #991b1b;
  color: white;
}

.ansehen-button {
  background: white;
  color: #172033;
  border: 1px solid #dbe3ef;
}

.adminbereich {
  max-width: 1200px;
  margin: 24px auto 0 auto;
}

.admin-info-box,
.admin-anzeigen-box {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.admin-info-box h3,
.admin-anzeigen-box h3 {
  margin-top: 0;
}

.admin-info-box p {
  color: #334155;
  line-height: 1.5;
}

.admin-anzeige {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  background: #f8fafc;
}

.admin-anzeige h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.admin-anzeige p {
  margin: 6px 0;
  color: #334155;
}

.admin-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-aktionen button {
  border-radius: 12px;
  padding: 9px 12px;
}

.admin-dashboard-kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.admin-inhalt-bereich {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.admin-seitenkopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-seitenkopf h3 {
  margin: 0 0 6px 0;
}

.admin-seitenkopf p {
  margin: 0;
  color: #64748b;
}

.admin-dashboard-kacheln .dashboard-kachel.aktiv {
  border-color: #b91c1c;
  background: #fff1f2;
  box-shadow: 0 18px 45px rgba(185, 28, 28, 0.16);
}

.admin-dashboard-kacheln .dashboard-kachel.aktiv strong {
  color: #1d4ed8;
}

.freischalten-button {
  background: #0f766e;
  color: white;
  border: none;
}

.freischalten-button:hover {
  background: #115e59;
  color: white;
}

.ablehnen-button {
  background: #f8fafc;
  color: #92400e;
  border: 1px solid #fed7aa;
}

.ablehnen-button:hover {
  background: #fff7ed;
  color: #92400e;
}

.admin-loeschen-button {
  background: #b91c1c;
  color: white;
  border: none;
}

.admin-loeschen-button:hover {
  background: #991b1b;
  color: white;
}

.status-freigeschaltet {
  background: #e7f7f4;
  color: #0f766e;
}

.status-pruefung {
  background: #fff7ed;
  color: #92400e;
}

.status-abgelehnt {
  background: #fef2f2;
  color: #b91c1c;
}

.login-trennung {
  height: 1px;
  background: #dbe3ef;
  margin: 24px 0;
}

.registrierung-box h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
}

.registrierung-box p {
  margin: 0 0 16px 0;
  color: #64748b;
  line-height: 1.45;
}

#registrierungsFormular {
  display: grid;
  gap: 14px;
}

#registrierungsFormular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

#registrierungsFormular input,
#registrierungsFormular select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  font-size: 16px;
}

.registrierung-submit {
  background: #0f766e;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.registrierung-submit:hover {
  background: #115e59;
  color: white;
}

.wechsel-button {
  width: 100%;
  background: white;
  color: #2563eb;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.wechsel-button:hover {
  background: #eaf1ff;
  color: #2563eb;
}

.bereich-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meldung {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  background: #0f172a;
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  font-weight: bold;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
}

.meldung.sichtbar {
  opacity: 1;
  transform: translateY(0);
}

.meldung.erfolg {
  background: #0f766e;
}

.meldung.fehler {
  background: #b91c1c;
}

.meldung.info {
  background: #2563eb;
}

.firmenprofil-box {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.firmenprofil-box h3 {
  margin-top: 0;
}

.firmenprofil-box p {
  color: #64748b;
  line-height: 1.45;
}

#firmenprofilFormular {
  display: grid;
  gap: 14px;
}

#firmenprofilFormular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

#firmenprofilFormular input,
#firmenprofilFormular textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

#firmenprofilFormular textarea {
  min-height: 110px;
  resize: vertical;
}

.profil-formular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.profil-speichern-button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
}

.profil-speichern-button:hover {
  background: #1d4ed8;
  color: white;
}

.firmenprofil-modal {
  max-width: 760px;
}

.profil-hinweis {
  color: #64748b;
  line-height: 1.45;
  margin-top: -6px;
  margin-bottom: 18px;
}

.detail-firmenprofil h3 {
  margin-top: 0;
}

.detail-firmenprofil a {
  color: #2563eb;
  font-weight: bold;
  text-decoration: none;
}

.detail-firmenprofil a:hover {
  text-decoration: underline;
}

.profil-hinweis-box {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: bold;
  line-height: 1.4;
}

.formular-hinweis {
  color: #64748b;
  font-size: 13px;
  font-weight: normal;
}

#formularFirma[readonly] {
  background: #f8fafc;
  color: #475569;
  cursor: not-allowed;
}

.bewerbungsbereich {
  max-width: 1050px;
  margin: 0 auto;
  padding: 24px;
}

.bewerbung-kopf {
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: white;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.bewerbung-kopf h2 {
  margin: 0 0 8px 0;
}

.bewerbung-kopf p {
  margin: 0;
  opacity: 0.95;
}

#bewerbungZurueckButton {
  background: white;
  color: #1e3a8a;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: bold;
}

.bewerbung-card {
  background: white;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

#bewerbungsFormular {
  display: grid;
  gap: 22px;
}

#bewerbungsFormular fieldset {
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 20px;
}

#bewerbungsFormular legend {
  color: #2563eb;
  font-weight: bold;
  padding: 0 8px;
}

#bewerbungsFormular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

#bewerbungsFormular input,
#bewerbungsFormular select,
#bewerbungsFormular textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

#bewerbungsFormular textarea {
  min-height: 110px;
  resize: vertical;
}

.bewerbung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.volle-breite {
  grid-column: 1 / -1;
}

.bewerbung-optionen {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.bewerbung-optionen label,
.datenschutz-zeile {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: normal !important;
}

.bewerbung-optionen input,
.datenschutz-zeile input {
  width: auto !important;
  margin-top: 4px;
}

.bewerbung-aktionen {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.secondary-button {
  background: #e2e8f0;
  color: #1f2937;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: bold;
}

.bewerbung-submit-button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: bold;
}

.bewerbung-submit-button:hover {
  background: #1d4ed8;
  color: white;
}

.dashboard-start {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dashboard-seite {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.dashboardZurueckButton {
  background: #e2e8f0;
  color: #0f172a;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: bold;
}

.unternehmen-dashboard-kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-kachel {
  min-height: 170px;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.dashboard-kachel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.dashboard-icon {
  font-size: 30px;
}

.dashboard-kachel strong {
  font-size: 18px;
  color: #0f172a;
}

.dashboard-kachel small {
  color: #64748b;
  line-height: 1.4;
}

.unternehmen-bewerbungen-bereich {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.dashboard-seitenkopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-seitenkopf h3 {
  margin: 0 0 6px 0;
}

.dashboard-seitenkopf p {
  margin: 0;
  color: #64748b;
}

.dashboard-leerbox {
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 24px;
  background: #f8fafc;
  color: #475569;
}

.bewerbungen-liste {
  display: grid;
  gap: 14px;
}

.bewerbung-karte {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.bewerbung-karte h4 {
  margin: 0 0 8px 0;
  font-size: 19px;
}

.bewerbung-karte p {
  margin: 5px 0;
  color: #475569;
}

.bewerbung-status-box {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: start;
}

.bewerbung-ansehen-button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  cursor: pointer;
}

.bewerbung-ansehen-button:hover {
  background: #1d4ed8;
  color: white;
}

.bewerbung-speichern-button {
  background: #0f766e;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: bold;
  cursor: pointer;
}

.bewerbung-speichern-button:hover {
  background: #115e59;
  color: white;
}

.bewerbung-ablehnen-button {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: bold;
  cursor: pointer;
}

.bewerbung-ablehnen-button:hover {
  background: #fecaca;
  color: #7f1d1d;
}

.bewerbung-status {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: bold;
  font-size: 14px;
}

.bewerbung-status-neu {
  background: #dbeafe;
  color: #1d4ed8;
}

.bewerbung-status-gesehen {
  background: #e2e8f0;
  color: #475569;
}

.bewerbung-status-gespeichert {
  background: #dcfce7;
  color: #166534;
}

.bewerbung-status-abgelehnt {
  background: #fee2e2;
  color: #991b1b;
}

.bewerbungen-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.bewerbung-filter-button {
  background: #e2e8f0;
  color: #334155;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  cursor: pointer;
}

.bewerbung-filter-button:hover {
  background: #cbd5e1;
}

.bewerbung-filter-button.aktiv {
  background: #2563eb;
  color: white;
}

.bewerbung-loeschen-button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #ffb8b8;
  background-color: #ffe1e1;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.bewerbung-loeschen-button:hover {
  background: #fecaca;
  color: #7f1d1d;
}

.kopf-rechts {
  flex-direction: column;
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navigation {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.navigation button {
  width: auto;
  height: auto;
}

#startseiteButton,
.bereich-button {
  background: white;
  color: #0f172a;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: none;
}

#startseiteButton:hover,
.bereich-button:hover {
  background: #f8fafc;
}

.account-menue-wrapper {
  position: relative;
}

.account-button {
  width: 46px !important;
  height: 46px !important;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: white;
  color: #0f172a;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 !important;
  box-shadow: none;
}

.account-button:hover {
  background: #f8fafc;
}

.account-menue {
  position: absolute;
  top: 56px;
  right: 0;
  width: 260px;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  z-index: 1000;
}

.account-menue .benutzer-status {
  margin: 0 0 12px 0;
  color: #475569;
  font-weight: bold;
  line-height: 1.4;
}

.account-login-button {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: bold;
  cursor: pointer;
}

.account-login-button:hover {
  background: #1d4ed8;
  color: white;
}

.account-logout-button {
  width: 100%;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: bold;
  cursor: pointer;
}

.account-logout-button:hover {
  background: #fecaca;
  color: #7f1d1d;
}

.nutzerbereich {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.nutzer-dashboard-kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.nutzer-inhalt-bereich {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.nutzer-bewerbungen-kopf {
  margin-bottom: 18px;
}

.nutzer-bewerbungen-kopf h3 {
  margin: 0 0 6px 0;
}

.nutzer-bewerbungen-kopf p {
  margin: 0;
  color: #64748b;
}

.favorit-detail-button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  cursor: pointer;
}

.favorit-detail-button:hover {
  background: #1d4ed8;
  color: white;
}

.favorit-entfernen-button {
  background: transparent;
  color: #f59e0b;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.favorit-entfernen-button:hover {
  color: #d97706;
}

.nutzer-daten-formular {
  display: grid;
  gap: 18px;
}

.nutzer-daten-formular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

.nutzer-daten-formular input,
.nutzer-daten-formular select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

.einstellungen-liste {
  display: grid;
  gap: 14px;
}

.einstellungen-karte {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: white;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.einstellungen-karte h4 {
  margin: 0 0 6px 0;
}

.einstellungen-karte p {
  margin: 0;
  color: #64748b;
}

.einstellungen-karte small {
  display: inline-block;
  margin-top: 8px;
  color: #334155;
  font-weight: bold;
}

.gefahren-zone {
  border-color: #fecaca;
  background: #fff7f7;
}

.account-loeschen-button {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: bold;
  cursor: not-allowed;
}

.einstellungen-karte-spalte {
  flex-direction: column;
  align-items: stretch;
}

.passwort-formular {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
}

.passwort-formular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

.passwort-formular input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

.einstellungen-karte-kopf {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.bewerbung-detail-box > .detail-schliessen {
  top: 18px;
  right: 18px;
  z-index: 5;
}

.bewerbung-detail-motivation {
  margin: 0 32px 24px 32px;
  margin-top: 22px;
}

.bewerbung-detail-motivation p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: #172033;
}

.bewerbung-detail-box {
  overflow: hidden;
  padding: 30px 34px;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
}

.bewerbung-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.bewerbung-detail-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 22px;
}

.bewerbung-detail-section h3 {
  font-size: 22px;
  color: #172033;
  margin: 0 0 12px 0;
}

.bewerbung-detail-section p {
  color: #172033;
  font-size: 16px;
  margin: 8px 0;
  line-height: 1.45;
}

.bewerbung-detail-aktionen {
  padding: 18px 32px 26px 32px;
  border-top: 1px solid #dbe3ef;
  padding-top: 18px;
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.bewerbung-detail-inhalt {
  display: block;
  padding-top: 10px;
}

.bewerbung-detail-kopf {
  padding: 28px 32px 18px 32px;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  border-bottom: 1px solid #dbe3ef;
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.bewerbung-detail-kopf h2 {
  margin: 0 0 6px 0;
  font-size: 28px;
}

.bewerbung-detail-kopf p {
  font-size: 17px;
  margin: 0;
  color: #64748b;
  font-weight: bold;
}

.bewerbung-detail-kopf .bewerbung-status {
  margin-top: 42px;
  justify-self: end;
}

.bewerbung-detail-box .bewerbung-detail-inhalt {
  padding-top: 10px;
}

.bewerbung-detail-box .bewerbung-detail-kopf {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: start !important;
  gap: 18px !important;
  border-bottom: 1px solid #dbe3ef;
  padding-bottom: 22px;
  margin-bottom: 26px;
}

.bewerbung-detail-box .bewerbung-detail-kopf > div {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.bewerbung-detail-box .bewerbung-detail-kopf h2 {
  margin: 0 0 6px 0 !important;
  font-size: 28px;
}

.bewerbung-detail-box .bewerbung-detail-kopf p {
  margin: 0 !important;
  color: #64748b;
  font-weight: bold;
}

.bewerbung-detail-box .bewerbung-detail-kopf .bewerbung-status {
  justify-self: end !important;
  align-self: start !important;
  margin-top: 42px !important;
  margin-right: 42px !important;
}

#bewerbungDetailFenster .detail-box {
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 44px;
}

#bewerbungDetailFenster .bewerbung-detail-kopf {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: start !important;
  gap: 20px !important;
  margin: 0 0 28px 0 !important;
  padding: 0 0 22px 0 !important;
  border-bottom: 1px solid #dbe3ef;
}

#bewerbungDetailFenster .bewerbung-detail-kopf > div {
  margin: 0 !important;
  padding: 0 !important;
}

#bewerbungDetailFenster .bewerbung-detail-kopf h2 {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  font-size: 28px;
}

#bewerbungDetailFenster .bewerbung-detail-kopf p {
  margin: 0 !important;
  padding: 0 !important;
  color: #64748b;
  font-weight: bold;
}

#bewerbungDetailFenster #bewerbungDetailStatus {
  justify-self: end !important;
  align-self: start !important;
  margin-top: 52px !important;
  margin-right: 0 !important;
}

#bewerbungDetailFenster .bewerbung-detail-motivation {
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

.admin-anzeigen-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-filter-button {
  background: #e2e8f0;
  color: #334155;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  cursor: pointer;
}

.admin-filter-button:hover {
  background: #cbd5e1;
}

.admin-filter-button.aktiv {
  background: #b91c1c;
  color: white;
}

.admin-accounts-liste {
  display: grid;
  gap: 14px;
}

.admin-account-karte {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.admin-account-karte h4 {
  margin: 0 0 8px 0;
  font-size: 19px;
}

.admin-account-karte p {
  margin: 5px 0;
  color: #475569;
}

.admin-account-aktionen {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: start;
}

.admin-account-aktionen button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-account-filter {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-account-filter input,
.admin-account-filter select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: white;
  font-size: 15px;
  font-family: inherit;
}

@media (max-width: 750px) {

  .bewerbung-detail-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .bewerbung-detail-motivation {
    margin: 0 20px 20px 20px;
  }

  .bewerbung-detail-aktionen {
    padding: 16px 20px 22px 20px;
  }

  .bewerbung-detail-box {
    padding: 24px 22px;
  }

  .bewerbung-detail-kopf {
    padding: 24px 20px 16px 20px;
    flex-direction: column;
  }

  .bewerbung-detail-kopf h2 {
    margin-right: 48px;
  }

  .admin-account-filter {
    grid-template-columns: 1fr;
  }
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 800px) {

  .profil-formular-grid {
    grid-template-columns: 1fr;
  }

  .bewerbung-kopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .bewerbung-grid {
    grid-template-columns: 1fr;
  }

  .kopfbereich {
    flex-direction: column;
    align-items: flex-start;
  }

  .kopf-rechts {
    width: 100%;
    justify-content: flex-start;
  }

  .navigation {
    flex-wrap: wrap;
  }

  .account-menue {
    right: auto;
    left: 0;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
}

.eigener-account-hinweis {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  font-size: 14px;
}

.admin-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.admin-support-karte {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.admin-support-karte h4 {
  margin: 0;
  font-size: 18px;
}

.admin-support-karte p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.admin-support-liste {
  display: grid;
  gap: 14px;
}

.admin-support-anfrage {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.admin-support-anfrage h4 {
  margin: 0 0 8px 0;
  font-size: 19px;
}

.admin-support-anfrage p {
  margin: 5px 0;
  color: #475569;
}

.support-nachricht {
  margin-top: 12px !important;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 12px;
  line-height: 1.5;
}

.support-status-auswahl {
  width: 230px;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: white;
  color: #172033;
  font-size: 15px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
}

.admin-support-filter {
  display: grid;
  grid-template-columns: 220px 260px;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-support-filter select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: white;
  font-size: 15px;
  font-family: inherit;
  font-weight: bold;
}

.detail-melden-button {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0.75;
}

.detail-melden-button:hover {
  background: #fecaca;
  color: #7f1d1d;
}

.melden-modal {
  max-width: 620px;
}

.melden-formular {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.melden-formular label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

.melden-formular select,
.melden-formular textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  background: white;
}

.melden-formular textarea {
  min-height: 120px;
  resize: vertical;
}

.support-anzeige-ansehen-button {
  margin-top: 10px;
  border-radius: 999px;
}

.admin-anzeige-mit-bild {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
}

.admin-anzeige-bildbox {
  width: 150px;
  height: 95px;
  border-radius: 16px;
  background: #eaf1ff;
  border: 1px solid #dbe3ef;
  color: #1e40af;
  font-weight: bold;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.admin-anzeige-bildbox.mit-bild {
  background: transparent;
  border: none;
}

.admin-anzeige-bildbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.registrierung-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
  background: #eef2ff;
  padding: 6px;
  border-radius: 18px;
  border: 1px solid #dbe3ef;
  overflow: hidden;
}

.registrierung-tabs::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 10px);
  height: calc(100% - 12px);
  background: #2563eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
  transition: transform 0.28s ease;
  z-index: 0;
}

.registrierung-tabs.unternehmen-aktiv::before {
  transform: translateX(calc(100% + 8px));
}

.registrierung-tab {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  background: transparent;
  color: #475569;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.22s ease;
}

.registrierung-tab:hover {
  background: transparent;
  color: #1d4ed8;
}

.registrierung-tab.aktiv {
  background: transparent;
  color: white;
  box-shadow: none;
}

.registrierung-tab.aktiv:hover {
  background: transparent;
  color: white;
}

.registrierungs-formular {
  display: grid;
  gap: 14px;
}

.registrierung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.registrierung-grid label {
  display: grid;
  gap: 6px;
  font-weight: bold;
}

.registrierung-grid input,
.registrierung-grid select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  background: white;
}

.registrierung-checkboxen label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.45;
  font-weight: normal !important;
}

.registrierung-checkboxen input {
  width: auto !important;
  margin-top: 3px;
  flex-shrink: 0;
}

@keyframes registrierungEinblenden {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.registrierung-checkboxen {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
}

.registrierungs-formular > .formular-hinweis {
  margin: -2px 0 2px 0;
  color: #64748b;
  font-size: 13px;
}

.detail-anzeige-box .detail-schliessen {
  top: 16px;
  right: 16px;
  z-index: 5;
}

.detail-titelbereich {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.detail-tags span:first-child {
  background: #e7f7f4;
  color: #0f766e;
}

.detail-firmenprofil {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dbe3ef;
}

.detail-kontakt-grid {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 14px;
}

.detail-kontakt-grid p {
  margin: 8px 0;
}

.detail-kontaktbox small {
  display: block;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 5px;
}

.detail-kontaktbox strong {
  color: #172033;
}

.detail-bewerben-button:hover {
  background: #115e59;
  color: white;
}

.detail-anzeige-box {
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 820px;
  border-radius: 28px;
}

.detail-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 26px 26px 0 26px;
}

.detail-bild-box {
  color: #1e3a8a;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: bold;
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eaf1ff, #f8fafc);
  border: 1px solid #dbe3ef;
}

.detail-bild-box span {
  color: #1e3a8a;
  opacity: 0.75;
}

.detail-bild-box.mit-bild {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.detail-bild {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 280px;
  object-fit: contain;
}

.detail-anzeige-inhalt {
  padding: 26px;
}

.detail-titelbereich h2 {
  margin: 0 48px 6px 0;
  line-height: 1.1;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.detail-titelbereich .detail-firma {
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  color: #64748b;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 22px;
}

.detail-tags span {
  color: #334155;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 13px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.detail-info-item {
  border: 1px solid #dbe3ef;
  padding: 16px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.detail-info-item small {
  display: block;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.detail-info-item strong {
  color: #172033;
  font-size: 17px;
}

.detail-section {
  border-top: 1px solid #dbe3ef;
  padding-top: 22px;
  margin-top: 22px;
}

.detail-section h3 {
  margin: 0 0 10px 0;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.detail-section p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
  font-size: 16px;
}

.detail-kontaktbox {
  margin-top: 22px;
  border: 1px solid #dbe3ef;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  position: sticky;
  bottom: 0;
  margin: 28px -26px -26px -26px;
  padding: 18px 26px;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(8px);
}

.detail-bewerben-button {
  min-width: 180px;
  background: #0f766e;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

.detail-anzeige-box .detail-melden-button {
  width: 28px;
  height: 28px;
  font-size: 14px;
  opacity: 0.65;
  bottom: 18px;
  right: 18px;
  z-index: 6;
}

.anzeigen-editor-bereich {
  display: grid;
  gap: 18px;
}

.anzeigen-editor-header,
.anzeigen-editor-liste-box,
.anzeigen-editor-formular-bereich {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.anzeigen-editor-header h3,
.anzeigen-editor-liste-kopf h3,
.anzeigen-editor-formular-kopf h3 {
  margin: 0 0 6px 0;
  font-size: 24px;
}

.anzeigen-editor-header p,
.anzeigen-editor-liste-kopf p,
.anzeigen-editor-formular-kopf p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.anzeigen-editor-liste-kopf,
.anzeigen-editor-formular-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.eigene-anzeigen-editor-liste {
  display: grid;
  gap: 14px;
}

.neue-anzeige-button {
  width: 100%;
  min-height: 74px;
  border: none;
  border-radius: 999px;
  background: #0f766e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.22);
}

.neue-anzeige-button span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
}

.neue-anzeige-button:hover {
  background: #115e59;
  color: white;
}

.anzeigen-vorschau-formular {
  display: block;
}

.anzeigen-editor-card label {
  display: grid;
  gap: 7px;
  font-weight: bold;
}

.anzeigen-editor-card input,
.anzeigen-editor-card select,
.anzeigen-editor-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  background: white;
}

.anzeigen-editor-tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.eigene-anzeige {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: center;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.eigene-anzeige-bildbox {
  width: 150px;
  height: 95px;
  border-radius: 16px;
  background: #eaf1ff;
  border: 1px solid #dbe3ef;
  color: #1e40af;
  font-weight: bold;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.eigene-anzeige-bildbox.mit-bild {
  background: transparent;
  border: none;
}

.eigene-anzeige-bildbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.eigene-anzeige-inhalt h4 {
  margin: 0 0 6px 0;
  font-size: 21px;
}

.eigene-anzeige-inhalt p {
  margin: 5px 0;
  color: #475569;
}

.eigene-anzeige-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.eigene-anzeige-tags span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: bold;
}

.eigene-anzeige-tags span:first-child {
  background: #e7f7f4;
  color: #0f766e;
}

.eigene-anzeige-aktionen {
  flex-wrap: wrap;
  display: grid;
  gap: 8px;
  justify-items: stretch;
  margin-top: 0;
}

.eigene-anzeige-aktionen button {
  border-radius: 12px;
  padding: 9px 12px;
  white-space: nowrap;
}

.anzeigen-editor-formular-bereich {
  scroll-margin-top: 24px;
}

.anzeigen-editor-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid #dbe3ef;
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.anzeigen-editor-bildbereich {
  border: 1px solid #dbe3ef;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 260px;
  background: linear-gradient(135deg, #eaf1ff, #f8fafc);
  border-radius: 24px;
  position: sticky;
  top: 20px;
}

.anzeigen-editor-inhalt {
  display: grid;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  padding: 20px;
}

.anzeigen-editor-titel-label input {
  font-weight: bold;
  font-size: 26px;
  line-height: 1.15;
  padding: 14px 16px;
  border-radius: 18px;
}

.anzeigen-editor-card input:focus,
.anzeigen-editor-card select:focus,
.anzeigen-editor-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.anzeigen-editor-tags-grid label {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 12px;
}

.anzeigen-editor-tags-grid input,
.anzeigen-editor-tags-grid select {
  border-radius: 999px;
  font-weight: bold;
}

.anzeigen-editor-card textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}

.anzeigen-editor-buttons .anzeige-speichern-button {
  border-radius: 999px;
  min-width: 240px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

@media (max-width: 950px) {

  .anzeigen-editor-card,
  .eigene-anzeige {
    grid-template-columns: 1fr;
  }

  .anzeigen-editor-tags-grid {
    grid-template-columns: 1fr 1fr;
  }

  .eigene-anzeige-bildbox {
    width: 100%;
    height: 150px;
  }

  .eigene-anzeige-aktionen {
    display: flex;
    flex-wrap: wrap;
  }

  .anzeigen-editor-bildbereich {
    position: static;
    min-height: 200px;
  }

  .anzeigen-editor-bildbereich::before {
    min-height: 90px;
  }

  .anzeigen-editor-buttons {
    position: static;
    margin: 0;
    border-radius: 18px;
  }

  .anzeigen-editor-buttons .anzeige-speichern-button {
    width: 100%;
  }
}

.anzeigen-editor-bildbereich::before {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: #1e3a8a;
  font-size: 34px;
  font-weight: bold;
  content: none;
}

.anzeigen-editor-bild-vorschau {
  min-height: 145px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: #1e3a8a;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  overflow: hidden;
}

.anzeigen-editor-bild-vorschau img {
  width: 100%;
  height: 145px;
  object-fit: contain;
  display: block;
}

.anzeigen-editor-mini-vorschau {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 14px;
}

.anzeigen-editor-mini-vorschau h4 {
  margin: 0 0 5px 0;
  font-size: 19px;
  color: #0f172a;
}

.anzeigen-editor-mini-vorschau p {
  margin: 0 0 12px 0;
  color: #64748b;
  font-weight: bold;
}

.anzeigen-editor-chip-vorschau {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.anzeigen-editor-chip-vorschau span {
  background: #f1f5f9;
  color: #334155;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: bold;
}

.anzeigen-editor-chip-vorschau span:first-child {
  background: #e7f7f4;
  color: #0f766e;
}

.anzeigen-editor-bildbereich label {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 14px;
}

.anzeigen-editor-bildbereich .formular-hinweis {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  padding: 10px 12px;
  line-height: 1.4;
}

.anzeigen-editor-formular-kopf {
  padding-bottom: 14px;
  border-bottom: 1px solid #dbe3ef;
  align-items: flex-start;
}

.anzeigen-editor-formular-kopf .bearbeitung-abbrechen-button {
  background: #f1f5f9;
  border: 1px solid #dbe3ef;
  color: #334155;
}

.anzeigen-editor-formular-kopf .bearbeitung-abbrechen-button:hover {
  background: #e2e8f0;
  color: #172033;
}

.anzeigen-editor-buttons {
  position: sticky;
  bottom: 0;
  margin: 6px -20px -20px -20px;
  padding: 16px 20px;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #dbe3ef;
  border-radius: 0 0 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.anzeigen-editor-buttons::before {
  content: "Änderungen prüfen und anschließend speichern.";
  color: #64748b;
  font-size: 14px;
  font-weight: bold;
}

.unternehmens-analyse-bereich {
  display: grid;
  gap: 18px;
}

.analyse-kopf {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.analyse-kopf h3 {
  margin: 0 0 6px 0;
  font-size: 26px;
}

.analyse-kopf p {
  margin: 0;
  color: #64748b;
}

.analyse-kopf select {
  max-width: 260px;
  border-radius: 999px;
  font-weight: bold;
}

.analyse-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.analyse-kpi {
  border-radius: 24px;
  padding: 20px;
  color: white;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 8px;
}

.analyse-kpi small {
  opacity: 0.9;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analyse-kpi strong {
  font-size: 28px;
  line-height: 1.15;
}

.analyse-kpi span {
  opacity: 0.92;
  line-height: 1.35;
}

.analyse-neutral {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.analyse-gut {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.analyse-warnung {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.analyse-schlecht {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.analyse-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.analyse-card {
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.analyse-breit {
  grid-column: 1 / -1;
}

.analyse-card-kopf {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.analyse-card-kopf h4 {
  margin: 0;
  font-size: 21px;
}

.analyse-card-kopf span {
  color: #64748b;
  font-weight: bold;
  font-size: 14px;
}

.analyse-balken-gruppe {
  display: grid;
  gap: 16px;
}

.analyse-balken-gruppe p {
  margin: 0 0 7px 0;
  color: #475569;
  font-weight: bold;
}

.analyse-balken {
  height: 16px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.analyse-balken span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.analyse-text {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.analyse-liste {
  display: grid;
  gap: 10px;
}

.analyse-liste p {
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.analyse-liste span {
  color: #0f766e;
  font-weight: bold;
}

.analyse-grosse-zahl {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-bottom: 12px;
}

.analyse-keyword {
  display: inline-block;
  background: #e7f7f4;
  color: #0f766e;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.analyse-linie {
  height: 230px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border: 1px solid #dbe3ef;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.analyse-linie span {
  flex: 1;
  min-width: 22px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #2563eb, #14b8a6);
}

@media (max-width: 1000px) {

  .admin-dashboard-kacheln {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-start {
    grid-template-columns: repeat(2, 1fr);
  }

  .unternehmen-dashboard-kacheln {
    grid-template-columns: repeat(2, 1fr);
  }

  .nutzer-dashboard-kacheln {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analyse-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analyse-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {

  .admin-dashboard-kacheln {
    grid-template-columns: 1fr;
  }

  .admin-seitenkopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-start {
    grid-template-columns: 1fr;
  }

  .dashboard-seitenkopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .unternehmen-dashboard-kacheln {
    grid-template-columns: 1fr;
  }

  .nutzer-dashboard-kacheln {
    grid-template-columns: 1fr;
  }

  .admin-support-grid {
    grid-template-columns: 1fr;
  }

  .registrierung-grid {
    grid-template-columns: 1fr;
  }

  .anzeigen-editor-tags-grid {
    grid-template-columns: 1fr;
  }

  .anzeigen-editor-liste-kopf,
  .anzeigen-editor-formular-kopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .analyse-kopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .analyse-kopf select {
    max-width: none;
  }

  .analyse-kpi-grid {
    grid-template-columns: 1fr;
  }

  .analyse-grosse-zahl {
    font-size: 34px;
  }
}

.analyse-status-donut {
  margin: 18px auto 14px;
}

.analyse-legende p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.92rem;
}

.analyse-legende strong {
  color: #0f172a;
}

.analyse-legende-punkt {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.analyse-legende-grau {
  background: #14b8a6;
  border: 1px solid #cbd5e1;
}

.analyse-donut {
  background: radial-gradient(circle at center, white 0 48%, transparent 49%),
  conic-gradient(#2563eb 0 68%, #e2e8f0 68% 100%);
  place-items: center;
  text-align: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 20px auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analyse-donut span {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.6rem;
  font-weight: 900;
  color: #111827;
  text-align: center;
}

.analyse-donut small {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
}

.analyse-legende {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
}

.analyse-legende div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.analyse-legende-blau,
.analyse-legende-tuerkis {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.analyse-legende-blau {
  background: #2563eb;
}

.analyse-legende-tuerkis {
  background: #14b8a6;
}

.minerva-logo-box {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.minerva-logo {
  width: 70px;
  height: auto;
  display: block;
}

.hero-bereich {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin: 26px 0 28px;
  padding: 36px;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
  linear-gradient(135deg, #ffffff 0%, #eff6ff 48%, #f8fafc 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-text h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  color: #0f172a;
  letter-spacing: -0.04em;
}

.hero-text p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-vorteile {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-vorteile span {
  padding: 9px 12px;
  border-radius: 999px;
  background: white;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.hero-karte {
  padding: 26px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 14px;
}

.hero-karte h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
}

.hero-karte p {
  margin: 10px 0 20px;
  color: #64748b;
  line-height: 1.5;
}

.hero-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.hero-button:hover {
  background: #1d4ed8;
}

.kopfbereich {
  max-width: 1200px;
  margin: 0 auto 24px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid #dbe3ef;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 32%),
  radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 35%),
  #ffffff;
  border-radius: 24px;
}

.logo-bereich h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.logo-bereich p {
  margin: 4px 0 0 0;
  color: #64748b;
}

@media (max-width: 850px) {

  .kopfbereich {
    flex-direction: column;
    align-items: flex-start;
  }

  .hauptlayout {
    grid-template-columns: 1fr;
  }

  .navigation {
    width: 100%;
  }

  .navigation button {
    flex: 1;
  }

  .anzeige {
    grid-template-columns: 1fr;
  }

  .firmen-logo {
    min-height: 80px;
  }

  .mehr-button {
    width: 100%;
  }

  .kopf-rechts {
    width: 100%;
    align-items: stretch;
  }

  .benutzer-status {
    text-align: center;
  }

  .hero-bereich {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .hero-text h2 {
    font-size: 2.3rem;
  }

  .hero-karte {
    text-align: left;
  }

  .hero-button {
    width: auto;
  }
}

.hauptlayout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: flex-start;
  gap: 26px;
}

.filterbereich h2 {
  margin-top: 0;
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.filtergruppe h3 {
  margin: 0 0 12px;
  color: #334155;
  font-size: 0.95rem;
}

.filtergruppe label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  color: #475569;
  font-weight: 600;
}

.filtergruppe input {
  accent-color: #2563eb;
}

.filterbereich select {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 12px;
  background: white;
  color: #334155;
  font-weight: 600;
  outline: none;
}

.filterbereich select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-reset-button:hover {
  background: #dbeafe;
}

.keine-anzeigen {
  padding: 30px;
  text-align: center;
  color: #64748b;
  border-radius: 24px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.start-suche {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.95)),
  #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  margin-bottom: 24px;
}

.start-suche-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.start-suche-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 8px;
}

.start-suche h2 {
  margin: 0;
  font-size: 2rem;
  color: #0f172a;
}

.start-suche p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.start-suche-marke {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.start-suche-marke img {
  width: 64px;
  height: auto;
  display: block;
}

.suchfeld-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.04);
}

.such-icon {
  font-size: 1.4rem;
  color: #2563eb;
  font-weight: 700;
}

.suchfeld-box input {
  border: none;
  outline: none;
  width: 100%;
  padding: 12px 4px;
  font-size: 1rem;
  background: transparent;
}

.suchfeld-box input::placeholder {
  color: #94a3b8;
}

.start-suche .suchinfo {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #475569;
}

@media (max-width: 700px) {

  .dashboard-seitenkopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .bewerbung-karte {
    flex-direction: column;
  }

  .einstellungen-karte {
    flex-direction: column;
    align-items: flex-start;
  }

  .einstellungen-karte-kopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-support-anfrage {
    flex-direction: column;
  }

  .admin-support-filter {
    grid-template-columns: 1fr;
  }

  .admin-anzeige-mit-bild {
    grid-template-columns: 1fr;
  }

  .detail-anzeige-box {
    max-width: 780px;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-bewerben-button {
    width: 100%;
  }

  .detail-hero {
    padding: 18px 18px 0 18px;
  }

  .detail-bild-box {
    min-height: 160px;
  }

  .detail-anzeige-inhalt {
    padding: 18px;
  }

  .detail-titelbereich h2 {
    font-size: 27px;
  }

  .detail-kontaktbox {
    grid-template-columns: 1fr;
    margin: 24px -18px -18px -18px;
    padding: 16px 18px;
  }

  .anzeigen-editor-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .anzeigen-editor-buttons::before {
    text-align: center;
  }

  .start-suche-kopf {
    align-items: flex-start;
  }

  .start-suche-marke {
    display: none;
  }

  .start-suche h2 {
    font-size: 1.6rem;
  }
}

.anzeige {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 190px;
  gap: 26px;
  align-items: center;
}

.anzeige::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.anzeige:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.anzeigen-kopfzeile {
  padding: 18px 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.firmen-logo {
  min-height: 120px;
  letter-spacing: -0.02em;
  width: 205px;
  height: 150px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  overflow: hidden;
}

.firmen-logo.mit-bild {
  box-shadow: none;
  width: 190px;
  height: 100px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 2px;
}

.anzeigen-bild {
  display: block;
  border-radius: 18px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.anzeigen-inhalt {
  padding: 18px;
  min-width: 0;
}

.anzeigen-inhalt h3 {
  padding-right: 46px;
  margin-bottom: 7px;
  letter-spacing: -0.02em;
  margin: 0 0 5px;
  font-size: 1.28rem;
  color: #0f172a;
  line-height: 1.25;
}

.anzeigen-inhalt .firma {
  margin: 0 0 10px;
  color: #2563eb;
  font-weight: 800;
}

.anzeigen-inhalt .beschreibung {
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.tags span:first-child {
  background: #ccfbf1;
  color: #0f766e;
  border-color: #99f6e4;
}

.anzeigen-aktionen {
  padding: 0 18px 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  align-self: end;
}

.mehr-button,
.bewerben-button {
  border: none;
  border-radius: 14px;
  padding: 12px 17px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.mehr-button {
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: bold;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #334155;
}

.mehr-button:hover {
  color: white;
  background: #e2e8f0;
}

.bewerben-button {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #2563eb;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.bewerben-button:hover {
  color: white;
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.32);
}

.favorit-button {
  padding: 0;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  position: absolute;
  top: 22px;
  right: 22px;
  border: none;
  background: #ffffff;
  color: #94a3b8;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: all 0.18s ease;
}

.favorit-button:hover {
  background: #eff6ff;
  color: #2563eb;
}

.favorit-button.aktiv {
  border-color: #fde68a;
  background: #dbeafe;
  color: #2563eb;
}

@media (max-width: 900px) {

  .bereich-kopf {
    flex-direction: column;
    align-items: flex-start;
  }

  .unternehmens-layout {
    grid-template-columns: 1fr;
  }

  #zurStartseiteButton {
    width: 100%;
  }

  .bereich-buttons {
    width: 100%;
  }

  .bereich-buttons button {
    width: 100%;
  }

  .filterbereich {
    position: static;
  }

  .anzeige {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .anzeigen-kopfzeile {
    justify-content: flex-start;
  }

  .anzeigen-aktionen {
    justify-content: stretch;
    align-self: auto;
  }

  .mehr-button,
  .bewerben-button {
    width: 100%;
  }
}

.filterbereich {
  position: sticky;
  top: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  padding: 28px;
}

.filter-kopf {
  margin-bottom: 20px;
}

.filter-label {
  display: none;
}

.filter-kopf h2 {
  margin: 0;
  font-size: 2rem;
}

.filter-kopf p {
  display: none;
}

.filtergruppe {
  border-top: 1px solid #dbe3ef;
  padding-top: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-top: 18px;
  margin-bottom: 22px;
  padding: 22px;
}

.filter-checkbox {
  min-height: 54px;
  font-size: 1.05rem;
}

.filter-auswahl-gruppe {
  gap: 18px;
}

.filter-auswahl-gruppe label {
  font-size: 1.05rem;
  color: #0f172a;
}

.filter-auswahl-gruppe select {
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 56px;
}

.filter-reset-button {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 13px 16px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  cursor: pointer;
  margin-top: 8px;
  min-height: 58px;
  font-size: 1rem;
}

.nutzer-bewerbung-loeschen-button {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: bold;
  cursor: pointer;
}

.nutzer-bewerbung-loeschen-button:hover {
  background: #fecaca;
  color: #7f1d1d;
}

.online-schalten-button {
  background: #0f766e;
  color: white;
  border: none;
}

.online-schalten-button:hover {
  background: #115e59;
  color: white;
}

.ablehnungsgrund-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
}

.ablehnungsgrund-box strong {
  display: block;
  margin-bottom: 5px;
}

.ablehnungsgrund-box p {
  margin: 0;
  color: #7f1d1d;
  line-height: 1.45;
}

.eigene-anzeige-statuszeile {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.anzeigen-online-text,
.anzeigen-offline-text {
  color: #172033;
  font-weight: 600;
}

.ablehnungsgrund-box {
  margin-top: 12px;
  max-width: 620px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
}

.ablehnungsgrund-box strong {
  display: block;
  margin-bottom: 6px;
  color: #7f1d1d;
}

.ablehnungsgrund-box p {
  margin: 0;
  color: #7f1d1d;
  line-height: 1.45;
}

.eigene-anzeige {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: center;
}

.eigene-anzeige-aktionen {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  align-self: center;
}

.eigene-anzeige-aktionen button {
  width: 100%;
}

@media (max-width: 950px) {
  .eigene-anzeige {
    grid-template-columns: 1fr;
  }

  .eigene-anzeige-aktionen {
    width: 100%;
  }
}

.neue-anzeige-button.deaktiviert {
  background: #e5e7eb;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

.neue-anzeige-button.deaktiviert span {
  background: #cbd5e1;
  color: #64748b;
}

.neue-anzeige-button.deaktiviert:hover {
  background: #e5e7eb;
  color: #64748b;
  transform: none;
}

.seiten-footer {
  max-width: 1600px;
  margin: 60px auto 0;
  padding: 0 32px 32px;
}

.footer-inhalt {
  background: #ffffff;
  border: 1px solid #dbe5f3;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-marke strong {
  display: block;
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 8px;
}

.footer-marke p {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-navigation button {
  position: relative;
  border: none;
  background: transparent;
  color: #334155;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.footer-navigation button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.footer-navigation button:hover {
  color: #2563eb;
}

.footer-navigation button:hover::after {
  width: 100%;
}

.footer-unten {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}

@media (max-width: 800px) {
  .seiten-footer {
    padding: 0 16px 24px;
  }

  .footer-inhalt {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-navigation {
    justify-content: flex-start;
  }
}

.rechtlicher-bereich {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px 48px;
}

.rechtlicher-inhalt {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.rechtlicher-inhalt h2 {
  margin: 18px 0 12px;
  font-size: 32px;
  color: #0f172a;
}

.rechtlicher-inhalt h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 20px;
  color: #1e293b;
}

.rechtlicher-inhalt p {
  color: #475569;
  line-height: 1.7;
  margin: 8px 0;
}

.recht-textbox {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 20px;
  margin: 16px 0;
}

.recht-textbox p {
  margin: 4px 0;
}

.recht-hinweis {
  margin-top: 28px !important;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  color: #9a3412 !important;
  font-size: 14px;
}

.recht-zurueck-button {
  border: none;
  background: #f1f5f9;
  color: #334155;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.recht-zurueck-button:hover {
  background: #e2e8f0;
}

@media (max-width: 700px) {
  .rechtlicher-bereich {
    padding: 0 16px 36px;
  }

  .rechtlicher-inhalt {
    padding: 24px 20px;
  }

  .rechtlicher-inhalt h2 {
    font-size: 26px;
  }
}

.unternehmens-antwort-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #bfdbfe;
  color: #334155;
}

.antwort-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.unternehmens-antwort-box p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
  color: #475569;
}

.bewerbung-status.antwort-erhalten {
  background: #dbeafe;
  color: #1d4ed8;
}

.antwort-ansehen-button {
  border: none;
  background: #e0f2fe;
  color: #075985;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.15);
}

.antwort-ansehen-button:hover {
  background: #bae6fd;
  transform: translateY(-1px);
}

.bewerbung-antwort-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0fdfa, #eff6ff);
  border: 1px solid #bfdbfe;
  color: #1e293b;
  max-width: 780px;
}

.bewerbung-antwort-box h5 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}

.bewerbung-antwort-box p {
  margin: 0;
  line-height: 1.6;
  color: #334155;
}

.bewerbung-antwort-box small {
  display: block;
  margin-top: 12px;
  color: #64748b;
  font-weight: 700;
}

.verifizierung-erneut-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  text-align: center;
}

.verifizierung-erneut-box p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 14px;
}

.verifizierung-erneut-box button {
  border: none;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.verifizierung-erneut-box button:hover {
  text-decoration: underline;
}

.verifizierung-erneut-box button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================
   RESPONSIVE DESIGN
   Handy & Tablet
========================= */

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .seite {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .kopfbereich {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .kopf-links {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .kopf-logo {
    flex-shrink: 0;
  }

  .kopf-text h1 {
    font-size: 26px;
    line-height: 1.05;
  }

  .kopf-text p {
    font-size: 16px;
    line-height: 1.25;
  }

  .kopf-aktionen {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .kopf-aktionen button,
  #startseiteButton,
  #bereichButton,
  #accountButton {
    max-width: 100%;
  }

  #accountMenue {
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
    z-index: 9999;
  }

  .hero-bereich {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
  }

  .hero-text h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-text p {
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-vorteile {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-karte {
    width: 100%;
  }

  .hauptlayout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .filter-bereich,
  .anzeigen-bereich,
  .such-bereich {
    width: 100%;
    max-width: 100%;
  }

  .such-kopf,
  .such-zeile {
    flex-direction: column;
    align-items: stretch;
  }

  #suchEingabe {
    width: 100%;
  }

  .anzeigen-grid,
  #anzeigenListe {
    grid-template-columns: 1fr;
  }

  .anzeige {
    width: 100%;
    max-width: 100%;
  }

  .anzeigen-aktionen {
    flex-direction: column;
  }

  .anzeigen-aktionen button {
    width: 100%;
  }

  .unternehmensbereich,
  .nutzerbereich,
  .adminbereich,
  .bewerbungsbereich {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .unternehmen-dashboard-kacheln,
  .admin-dashboard-kacheln,
  .nutzer-dashboard-kacheln {
    grid-template-columns: 1fr;
  }

  .dashboard-kachel,
  .admin-support-grid,
  .analyse-kpi-grid,
  .analyse-layout {
    grid-template-columns: 1fr;
  }

  .eigene-anzeige,
  .admin-anzeige,
  .bewerbung-karte,
  .admin-account-karte,
  .admin-support-anfrage {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .detail-box,
  .login-box {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 480px) {
  .seite {
    padding: 12px;
  }

  .kopfbereich {
    border-radius: 24px;
    padding: 16px;
  }

  .kopf-links {
    align-items: flex-start;
  }

  .kopf-logo {
    width: 70px;
    height: 70px;
  }

  .kopf-text h1 {
    font-size: 25px;
  }

  .kopf-text p {
    font-size: 15px;
  }

  .kopf-aktionen {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
  }

  #startseiteButton,
  #bereichButton {
    width: 100%;
    padding: 12px 10px;
    font-size: 13px;
  }

  #accountButton {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .hero-bereich {
    padding: 24px;
    border-radius: 26px;
  }

  .hero-text h2 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .filter-bereich,
  .anzeigen-bereich,
  .unternehmensbereich,
  .nutzerbereich,
  .adminbereich {
    border-radius: 24px;
    padding: 22px;
  }

  .filter-bereich h2,
  .anzeigen-bereich h2,
  .unternehmensbereich h2 {
    font-size: 30px;
  }

  select,
  input,
  textarea,
  button {
    max-width: 100%;
  }
}


@media (max-width: 900px) {
  .filter-bereich {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
  }
}

  @media (max-width: 900px) {
  #accountMenue {
    position: fixed !important;
    top: 110px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    z-index: 99999 !important;
    transform: none !important;
  }

  #accountMenue.versteckt {
    display: none !important;
  }

  #accountMenue:not(.versteckt) {
    display: block !important;
  }
}

  .kopfbereich {
    position: relative;
  }

@media (max-width: 900px) {
  .hauptlayout {
    display: flex !important;
    flex-direction: column !important;
  }

  .hauptlayout > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter,
  .filter-bereich,
  .filter-box,
  .filter-karte,
  .seiten-filter,
  aside {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .seite,
  .bewerbungsbereich,
  #bewerbungsBereich,
  .bewerbungs-formular,
  #bewerbungsFormular,
  .bewerbungs-kopf,
  .bewerbungs-header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #bewerbungsBereich {
    padding: 16px;
  }

  #bewerbungsBereich > * {
    max-width: 100%;
  }

  #bewerbungsFormular {
    display: block;
  }

  #bewerbungsFormular fieldset,
  #bewerbungsFormular .formular-gruppe,
  #bewerbungsFormular .formular-grid,
  #bewerbungsFormular .profil-formular-grid,
  #bewerbungsFormular .bewerbungs-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  #bewerbungsFormular input,
  #bewerbungsFormular select,
  #bewerbungsFormular textarea,
  #bewerbungsFormular button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #bewerbungsFormular fieldset {
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .bewerbungs-kopf,
  .bewerbungs-header,
  .bewerbung-kopf,
  .bewerbung-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .bewerbungs-kopf button,
  .bewerbungs-header button,
  .bewerbung-kopf button,
  .bewerbung-header button,
  #bewerbungZurueckButton {
    width: 100%;
  }
}

.versteckt {
  display: none !important;
}

/* =========================
   Chatbereich / Nachrichten
   ========================= */

.chat-bereich {
  width: min(1200px, calc(100% - 48px));
  margin: 32px auto;
}

.chat-bereich.versteckt {
  display: none;
}

.chat-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 720px;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.chat-sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.chat-sidebar-kopf {
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.chat-sidebar-kopf h2 {
  margin: 0;
  font-size: 28px;
  color: #0f172a;
}

.chat-sidebar-kopf p {
  margin: 8px 0 0;
  color: #64748b;
}

.chat-liste {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-listen-eintrag {
  width: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-listen-eintrag:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.chat-listen-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.chat-listen-text strong {
  color: #0f172a;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-listen-text span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-hauptbereich,
.chat-aktiv-bereich {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #eef3f8;
}

.chat-leerzustand {
  margin: auto;
  text-align: center;
  color: #64748b;
}

.chat-leerzustand h3 {
  color: #0f172a;
  font-size: 28px;
  margin-bottom: 8px;
}

.chat-kopf {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-kopf h2 {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.chat-kopf p {
  margin: 4px 0 0;
  color: #64748b;
}

.chat-zurueck-button {
  border: 0;
  background: #eaf1fb;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.chat-bewerbungs-details,
.chat-bewerbung-box {
  margin: 18px 22px 0;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.chat-bewerbung-box h3,
.chat-bewerbungs-details h3 {
  margin: 0 0 14px;
  color: #0f172a;
}

.chat-bewerbung-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.chat-bewerbung-grid p,
.chat-bewerbung-text p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.chat-bewerbung-text {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.chat-nachrichten-liste {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-nachricht-zeile {
  display: flex;
}

.chat-nachricht-zeile.eigene-nachricht {
  justify-content: flex-end;
}

.chat-nachricht-zeile.fremde-nachricht {
  justify-content: flex-start;
}

.chat-nachricht {
  max-width: min(72%, 620px);
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.eigene-nachricht .chat-nachricht {
  background: #2563eb;
  color: white;
  border-bottom-right-radius: 6px;
}

.fremde-nachricht .chat-nachricht {
  background: #ffffff;
  color: #0f172a;
  border-bottom-left-radius: 6px;
}

.chat-nachricht p {
  margin: 0;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-nachricht small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.75;
  text-align: right;
}

.chat-keine-nachrichten,
.chat-leer {
  margin: auto;
  color: #64748b;
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;
}

.chat-formular {
  padding: 16px 18px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.chat-formular textarea {
  flex: 1;
  min-height: 48px;
  max-height: 140px;
  resize: vertical;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.chat-formular textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.chat-formular button {
  border: 0;
  background: #2563eb;
  color: white;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

@media (max-width: 850px) {
  .chat-bereich {
    width: min(100% - 24px, 430px);
    margin: 18px auto;
  }

  .chat-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .chat-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .chat-sidebar-kopf {
    padding: 18px;
  }

  .chat-sidebar-kopf h2 {
    font-size: 24px;
  }

  .chat-liste {
    max-height: 220px;
    overflow-y: auto;
  }

  .chat-bewerbungs-details,
  .chat-bewerbung-box {
    margin: 14px;
    padding: 14px;
  }

  .chat-bewerbung-grid {
    grid-template-columns: 1fr;
  }

  .chat-nachrichten-liste {
    min-height: 360px;
    padding: 14px;
  }

  .chat-nachricht {
    max-width: 88%;
  }

  .chat-formular {
    padding: 12px;
  }

  .chat-formular button {
    padding: 14px 16px;
  }
}

.profil-chat-bereich {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.profil-chat-liste,
.profil-chat-fenster {
  background: white;
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.profil-chat-liste {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profil-chat-eintrag {
  width: 100%;
  border: 0;
  background: #f8fafc;
  border-radius: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: #172033;
}

.profil-chat-eintrag:hover,
.profil-chat-eintrag.aktiv {
  background: #eaf2ff;
}

.profil-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.profil-chat-eintrag-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.profil-chat-eintrag-text strong,
.profil-chat-eintrag-text span,
.profil-chat-eintrag-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profil-chat-eintrag-text span {
  color: #52627a;
  font-size: 14px;
}

.profil-chat-eintrag-text small {
  color: #7b8aa0;
}

.profil-chat-fenster {
  display: flex;
  flex-direction: column;
  min-height: 620px;
}

.profil-chat-kopf {
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fbff, #ecfeff);
}

.profil-chat-kopf h3 {
  margin: 0;
  font-size: 22px;
}

.profil-chat-kopf p {
  margin: 4px 0 0;
  color: #52627a;
}

.profil-chat-bewerbung-details {
  padding: 14px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.profil-chat-bewerbung-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #2563eb;
}

.profil-chat-nachrichten {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 30%),
    #eef3f8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profil-chat-nachricht-zeile {
  display: flex;
}

.profil-chat-nachricht-zeile.eigene-nachricht {
  justify-content: flex-end;
}

.profil-chat-nachricht-zeile.fremde-nachricht {
  justify-content: flex-start;
}

.profil-chat-nachricht {
  max-width: min(72%, 560px);
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.profil-chat-nachricht-zeile.eigene-nachricht .profil-chat-nachricht {
  background: #2563eb;
  color: white;
  border-bottom-right-radius: 4px;
}

.profil-chat-nachricht-zeile.fremde-nachricht .profil-chat-nachricht {
  background: white;
  color: #172033;
  border-bottom-left-radius: 4px;
}

.profil-chat-nachricht p {
  margin: 0;
  line-height: 1.45;
}

.profil-chat-nachricht small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.75;
  text-align: right;
}

.profil-chat-formular {
  padding: 14px;
  border-top: 1px solid #e2e8f0;
  background: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.profil-chat-formular textarea {
  min-height: 48px;
  max-height: 130px;
  resize: vertical;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
}

.profil-chat-formular button {
  border: 0;
  border-radius: 18px;
  padding: 0 22px;
  background: #2563eb;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 850px) {
  .profil-chat-bereich {
    grid-template-columns: 1fr;
  }

  .profil-chat-fenster {
    min-height: 560px;
  }

  .profil-chat-nachricht {
    max-width: 88%;
  }

  .profil-chat-formular {
    grid-template-columns: 1fr;
  }

  .profil-chat-formular button {
    min-height: 48px;
  }
}

/* Unternehmens- und Profil-Chat: WhatsApp-ähnliche Optik */

.profil-chat-bereich {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-top: 36px;
  min-height: 640px;
}

.profil-chat-liste {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe5f3;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  max-height: 680px;
  overflow-y: auto;
}

.profil-chat-eintrag {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
  margin-bottom: 10px;
}

.profil-chat-eintrag:hover {
  background: #f1f5f9;
}

.profil-chat-eintrag.aktiv {
  background: #e8f1ff;
}

.profil-chat-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.profil-chat-eintrag-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.profil-chat-eintrag-text strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.2;
}

.profil-chat-eintrag-text span {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  margin-top: 3px;
}

.profil-chat-eintrag-text small {
  color: #64748b;
  font-size: 12px;
  margin-top: 3px;
}

.profil-chat-fenster {
  background: white;
  border: 1px solid #dbe5f3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

.profil-chat-kopf {
  padding: 22px 28px;
  background: linear-gradient(135deg, #ffffff, #ecfeff);
  border-bottom: 1px solid #dbe5f3;
}

.profil-chat-kopf h3 {
  margin: 0;
  font-size: 26px;
  color: #0f172a;
}

.profil-chat-kopf p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 17px;
  font-weight: 600;
}

.profil-chat-bewerbung-details {
  background: #f8fafc;
  border-bottom: 1px solid #dbe5f3;
  padding: 14px 28px;
}

.profil-chat-bewerbung-details summary {
  cursor: pointer;
  color: #2563eb;
  font-weight: 800;
  font-size: 17px;
}

.profil-chat-bewerbung-details[open] {
  padding-bottom: 22px;
}

.profil-chat-bewerbung-details .chat-bewerbung-grid {
  margin-top: 16px;
}

.profil-chat-nachrichten {
  flex: 1;
  min-height: 360px;
  max-height: 520px;
  overflow-y: auto;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.06), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(20, 184, 166, 0.08), transparent 30%),
    #eef4fb;
}

.profil-chat-nachricht-zeile {
  display: flex;
  margin-bottom: 14px;
}

.profil-chat-nachricht-zeile.fremde-nachricht {
  justify-content: flex-start;
}

.profil-chat-nachricht-zeile.eigene-nachricht {
  justify-content: flex-end;
}

.profil-chat-nachricht {
  max-width: 62%;
  padding: 14px 16px 10px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  word-break: break-word;
}

.profil-chat-nachricht-zeile.fremde-nachricht .profil-chat-nachricht {
  background: white;
  color: #0f172a;
  border-bottom-left-radius: 6px;
}

.profil-chat-nachricht-zeile.eigene-nachricht .profil-chat-nachricht {
  background: #2563eb;
  color: white;
  border-bottom-right-radius: 6px;
}

.profil-chat-nachricht p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
}

.profil-chat-nachricht small {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-size: 11px;
  opacity: 0.72;
}

.profil-chat-formular {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  background: white;
  border-top: 1px solid #dbe5f3;
}

.profil-chat-formular textarea {
  min-height: 54px;
  max-height: 140px;
  resize: vertical;
  border: 1px solid #dbe5f3;
  border-radius: 18px;
  padding: 15px 18px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
  background: #ffffff;
}

.profil-chat-formular textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.profil-chat-formular button {
  border: 0;
  border-radius: 18px;
  padding: 0 26px;
  background: #2563eb;
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.profil-chat-formular button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.chat-keine-nachrichten {
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 18px;
  color: #64748b;
  text-align: center;
  font-weight: 700;
}

/* Falls noch alte Chat-Klassen aktiv sind */
.chat-nachricht-zeile {
  display: flex;
  margin-bottom: 14px;
}

.chat-nachricht-zeile.eigene-nachricht {
  justify-content: flex-end;
}

.chat-nachricht-zeile.fremde-nachricht {
  justify-content: flex-start;
}

.chat-nachricht {
  max-width: 62%;
  padding: 14px 16px 10px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.chat-nachricht-zeile.eigene-nachricht .chat-nachricht {
  background: #2563eb;
  color: white;
}

/* Mobile Ansicht */
@media (max-width: 900px) {
  .profil-chat-bereich {
    grid-template-columns: 1fr;
  }

  .profil-chat-liste {
    max-height: 320px;
  }

  .profil-chat-nachricht {
    max-width: 86%;
  }

  .profil-chat-formular {
    grid-template-columns: 1fr;
  }

  .profil-chat-formular button {
    min-height: 48px;
  }
}

/* Feinschliff Chatbereich */

.profil-chat-bereich {
  align-items: stretch;
}

.profil-chat-liste {
  padding: 18px;
  background: #ffffff;
}

.profil-chat-eintrag {
  min-height: 92px;
  margin-bottom: 12px;
}

.profil-chat-eintrag.aktiv {
  background: #eaf2ff;
}

.profil-chat-avatar {
  width: 58px;
  height: 58px;
  font-size: 15px;
}

.profil-chat-eintrag-text strong {
  font-size: 16px;
}

.profil-chat-eintrag-text span {
  font-size: 15px;
}

.profil-chat-fenster {
  min-height: 690px;
}

.profil-chat-kopf {
  min-height: 96px;
  display: flex;
  align-items: center;
}

.profil-chat-kopf h3 {
  font-size: 28px;
  line-height: 1.15;
}

.profil-chat-bewerbung-details {
  padding: 16px 34px;
}

.profil-chat-nachrichten {
  min-height: 430px;
  padding: 32px 36px;
  background:
    radial-gradient(circle at 82% 10%, rgba(20, 184, 166, 0.12), transparent 26%),
    radial-gradient(circle at 20% 85%, rgba(37, 99, 235, 0.08), transparent 28%),
    #edf4fb;
}

.profil-chat-nachricht {
  max-width: 48%;
  padding: 16px 18px 12px;
  border-radius: 18px;
}

.profil-chat-nachricht p {
  font-size: 16px;
}

.profil-chat-nachricht-zeile.fremde-nachricht .profil-chat-nachricht {
  border-bottom-left-radius: 4px;
}

.profil-chat-nachricht-zeile.eigene-nachricht .profil-chat-nachricht {
  border-bottom-right-radius: 4px;
}

.profil-chat-formular {
  padding: 18px 22px;
  background: #ffffff;
  align-items: center;
}

.profil-chat-formular textarea {
  min-height: 60px;
  border-radius: 20px;
  padding: 17px 20px;
}

.profil-chat-formular button {
  height: 64px;
  min-width: 112px;
  border-radius: 20px;
}

/* Bewerbungsklappbereich etwas ruhiger */
.profil-chat-bewerbung-details summary {
  list-style: none;
}

.profil-chat-bewerbung-details summary::-webkit-details-marker {
  display: none;
}

.profil-chat-bewerbung-details summary::before {
  content: "▸ ";
}

.profil-chat-bewerbung-details[open] summary::before {
  content: "▾ ";
}

.checkbox-recht-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.text-link-button {
  border: none;
  background: transparent;
  color: #2563eb;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.text-link-button:hover {
  color: #1d4ed8;
}

.checkbox-recht-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.text-link-button {
  border: none;
  background: transparent;
  color: #2563eb;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.text-link-button:hover {
  color: #1d4ed8;
}

.text-link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #2563eb;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.text-link-button:hover {
  color: #1d4ed8;
}

.checkbox-recht-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.checkbox-recht-label input {
  margin-top: 4px;
}